Skip to content
Health
42/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 57 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.14 MB
Module directory on disk
Code analysis 1 migration note 2 models 1 view 1 HTTP endpoint

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…