Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Producție
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Activating Stripe Problem

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
Stripe
3 Răspunsuri
5001 Vizualizări
Imagine profil
johnny doe

Using Odoo v17 community edition.  Within Odoo I have a simple ecommerce website setup.  I have activated Stripe in order to take payments on the site.  When I go into the stripe setup screen with odoo it asks for 2 pieces of information - the publishable key and the secret key.  I look those up on my stripe account and enter copy them in.  Then within the odoo setup it has a selectable button to 'generate your webhook'.  When I make this selection i receive an error message saying - "Validation Error - Stripe: The communication with the API failed. Stripe gave us the following info about the problem: 'Not a valid URL'".


Does anyone know what might be causing this message / error?  Thank you in advance for any  advice or suggestions that you can offer.

0
Imagine profil
Abandonează
Imagine profil
erpheritage.com.au
Cel mai bun răspuns

Solution / Check 1: Check System Parameters

1. Log into Odoo

2. Activate Developer Mode:

   - Click on Settings (gear icon)

   - Click "Activate developer mode" at the bottom of the menu

3. Go to Settings > Technical > System Parameters

4. Find "web.base.url" parameter

5. Make sure its value starts with "https://" (e.g., https://domain.com)

6. If it doesn't start with "https://", edit and add it

7. Save changes


Solution / Check 2: Update Odoo Configuration File

1. Locate your Odoo configuration file (usually odoo.conf)

2. Open the file in a text editor

3. Add or update these two lines:


   proxy_mode = True
   x_forwarded_for = True


4. Save the file

5. Restart your Odoo server for changes to take effect


After completing both steps, try creating the Stripe webhook again.

0
Imagine profil
Abandonează
Imagine profil
johnny doe
Autor Cel mai bun răspuns

Hi Marc,

would you know where/how i can make that change (or where it is getting those extra backslashes from)?

0
Imagine profil
Abandonează
Imagine profil
Marc De Costa
Cel mai bun răspuns

Hi Johnny, 

Here are some troubleshooting steps you can follow to resolve this issue:

1. Verify Webhook URL:

  • Double-check the URL you've entered in the Odoo Stripe setup for the webhook endpoint. Ensure there are no typos or extra spaces.
  • Make sure the URL format is correct, including the protocol (http:// or https://).

2. Public URL Requirement:

  • Stripe webhooks require a publicly accessible URL. If your Odoo website is behind a firewall or requires authentication, you'll need to set up a publicly accessible endpoint to receive Stripe webhook notifications.

Here are some possible solutions depending on your setup:

  • Public Webserver: If your Odoo website is hosted on a public web server, you can likely use the same URL for your website as the webhook endpoint.
  • Tunneling Services: If your Odoo instance is behind a firewall, you might consider using a tunneling service like ngrok (https://ngrok.com/) to create a temporary public URL for testing purposes. However, this wouldn't be ideal for a production environment.

Additional Tips:

  • Consult the Odoo documentation for Stripe integration (https://www.odoo.com/documentation/17.0/applications/finance/payment_providers/stripe.html) to ensure you're following the correct configuration steps.


0
Imagine profil
Abandonează
johnny doe
Autor

Hi Marc,
Thank you kindly for your response and feedback. I may be missing something but as per your first point where you said to double check the URL I entered...

I actually didn't enter any URL. The setup i did within Odoo for Stripe was simply to enter the publishable key and the secret key values within the setup screen. The only other thing I did on the setup screen was to select the 'generate your webhook' button. This is the point at which the error comes up for me where it complains about the URL. Again, I haven't entered a URL anywhere but I assume it is picking up on the URL associated with my site. Also, when I contacted Stripe to see if they could offer any suggestions they indicated the the URL they see on their end (that my setup is trying to specify/use has the following format...

http://\\mysite.net/payment/stripe/webhook

i'm not sure where those extra \\ come from but maybe could be the reason it is complaining?

Marc De Costa

Hi Jonny,

Yes it could be the reason.

johnny doe
Autor

johnny doe
1 day ago
Author
Hi Marc,

would you know where/how i can make that change (or where it is getting those extra backslashes from)?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Error Message: Only Stripe Connect platforms can work with other accounts Rezolvat
Stripe
Imagine profil
1
mai 25
2105
Stripe account locked to email
Stripe
Imagine profil
0
aug. 24
1571
Only invoices could be printed user error
Stripe
Imagine profil
Imagine profil
Imagine profil
2
feb. 24
2350
Odoo POS amd Stripe S700
pos Stripe
Imagine profil
Imagine profil
2
oct. 25
569
Stripe - 3D Secure failed
Stripe 3d secure
Imagine profil
0
aug. 25
967
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now