Repository
odoo/odoo · module folder
Module version
1.0
Category
Uncategorized
Folder size
0.14 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-07 05:12:48
Authors
Maintainers
None
Committers
Odoo Translation Bot, Goffin Simon, Xavier-Do
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Stripe Payment Acquirer checkout webhook
========================================
    
Allow configuring a webhook in Stripe to send s2s notifications to Odoo
when a Checkout payment is completed. Note that SetupIntent and
PaymentIntent events are not listened to, since they are handled 'live'
with the customer actively present; the main use case for Stripe
webhooks is a Checkout session that gets interrupted before the customer
is redirected to Odoo (e.g. network loss, browser crash, closing the
tab, etc.).

The webhook should be configured to send its events to
<base_url>/payment/stripe/webhook and should only subscribe to
checkout.session.completed events to avoid spamming the Odoo server with
useless notifications.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
acquirer_form_stripe payment.acquirer.form.inherit payment.acquirer form Inherits payment.acquirer_form
HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
/payment/stripe/webhook StripeController.stripe_webhook public json ALL csrf off sudo
Models touched (2)

New fields (1)
  • stripe_webhook_secret Char
    groups='base.group_system' help='If you enable webhooks, this secret is used to verify the electronic signature of events sent by Stripe to Odoo. Failing to set this field in Odoo will disable the webhook system for this acquirer entirely.' string='Stripe Webhook Secret'
Public methods (0)

No public methods.

New fields (1)
  • stripe_payment_intent Char
    readonly=True string='Stripe Payment Intent ID'
Public methods (0)

No public methods.

Loading…