Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Activating Stripe Problem

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
Stripe
3 Besvarelser
4960 Visninger
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
Kassér
Avatar
erpheritage.com.au
Bedste svar

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
Kassér
Avatar
johnny doe
Forfatter Bedste svar

Hi Marc,

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

0
Avatar
Kassér
Avatar
Marc De Costa
Bedste svar

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
Kassér
johnny doe
Forfatter

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
Forfatter

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!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Error Message: Only Stripe Connect platforms can work with other accounts Løst
Stripe
Avatar
1
maj 25
2075
Stripe account locked to email
Stripe
Avatar
0
aug. 24
1550
Only invoices could be printed user error
Stripe
Avatar
Avatar
Avatar
2
feb. 24
2328
Odoo POS amd Stripe S700
pos Stripe
Avatar
Avatar
2
okt. 25
538
Stripe - 3D Secure failed
Stripe 3d secure
Avatar
0
aug. 25
955
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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