summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorAdrien Horgnies <aho@odoo.com>2020-04-17 10:03:54 +0000
committerDamien Bouvy <dbo@odoo.com>2020-08-17 14:16:51 +0000
commitdc4f6ad04f8bf3800c650d878b08e44775b95628 (patch)
tree59a787a2b2b3b4c0d578513d5c43ea974f1f3ce4 /addons/web/static/src/js/views/basic/basic_controller.js
parent7eee8f5cf594c3d0f6261ed200ad93674b280000 (diff)
[IMP] payment_stripe: support webhooks
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. closes odoo/odoo#52754 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions