Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Guest House
    • Drankenhandelaar
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Solar Energy Systems
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC Services
    Others
    • Nonprofit Organization
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Activating Stripe Problem

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
Stripe
3 Antwoorden
5004 Weergaven
Avatar
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
Avatar
Annuleer
Avatar
erpheritage.com.au
Beste antwoord

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
Avatar
Annuleer
Avatar
johnny doe
Auteur Beste antwoord

Hi Marc,

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

0
Avatar
Annuleer
Avatar
Marc De Costa
Beste antwoord

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
Avatar
Annuleer
johnny doe
Auteur

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
Auteur

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)?

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Error Message: Only Stripe Connect platforms can work with other accounts Opgelost
Stripe
Avatar
1
mei 25
2106
Stripe account locked to email
Stripe
Avatar
0
aug. 24
1572
Only invoices could be printed user error
Stripe
Avatar
Avatar
Avatar
2
feb. 24
2351
Odoo POS amd Stripe S700
pos Stripe
Avatar
Avatar
2
okt. 25
571
Stripe - 3D Secure failed
Stripe 3d secure
Avatar
0
aug. 25
967
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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