Skip to content

Commit ecf0cbe

Browse files
committed
[IMP] stripe: add information for webhook creation
The events we are listening in the webhooks changed. task-2766383
1 parent bad60e1 commit ecf0cbe

File tree

1 file changed

+21
-10
lines changed
  • content/applications/finance/payment_acquirers

1 file changed

+21
-10
lines changed

content/applications/finance/payment_acquirers/stripe.rst

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,28 +77,39 @@ In case your **Webhook Signing Secret** is required to connect with your Stripe
7777
create a webhook either automatically or manually.
7878

7979
.. tabs::
80-
.. tab:: Create the webhook automatically
80+
.. tab:: Manage the webhook automatically
8181

8282
Make sure your :ref:`Publishable and Secret keys <stripe/api_keys>` are filled in, then click
83-
on the *Generate your Webhook* button.
83+
on the :guilabel:`Generate your Webhook` button.
8484

85-
.. tab:: Create the webhook manually
85+
.. tip::
86+
To update the webhook, click once again on the :guilabel:`Generate your Webhook` button.
87+
88+
.. tab:: Manage the webhook manually
8689

8790
Visit the `webhooks page on Stripe <https://dashboard.stripe.com/webhooks>`_, or log into your
88-
Stripe dashboard and go to :menuselection:`Developers --> Webhooks`. Then, click on **Add
89-
endpoint** in your **Hosted endpoints** and insert the following data into the pop-up form:
91+
Stripe dashboard and go to :menuselection:`Developers --> Webhooks`. Then, click on
92+
:guilabel:`Add endpoint` in your :guilabel:`Hosted endpoints` and insert the following data
93+
into the pop-up form:
9094

91-
- | In the **Endpoint URL**, enter your Odoo database's URL followed by
95+
- | In the :guilabel:`Endpoint URL`, enter your Odoo database's URL followed by
9296
| `/payment/stripe/webhook`.
9397
| For example: `https://yourcompany.odoo.com/payment/stripe/webhook`
94-
- At the end of the form, you can **Select events** to listen to. Click on it and, in the
95-
**Checkout** section, select **checkout.session.completed**.
98+
- At the end of the form, you can **Select events** to listen to. Click on it. In the
99+
:guilabel:`Payment Intent` section, select
100+
:guilabel:`payment_intent.amount_capturable_updated` and
101+
:guilabel:`payment_intent.succeeded`. In the :guilabel:`Setup Intent` section, select
102+
:guilabel:`setup_intent.succeeded`.
96103

97104
.. note::
98105
It is possible to select other events, but they are currently not processed by Odoo.
99106

100-
When you click on **Add endpoint**, your Webhook is configured. You can then click on
101-
**reveal** to display your signing secret.
107+
When you click on :guilabel:`Add endpoint`, your Webhook is configured. You can then click on
108+
:guilabel:`reveal` to display your signing secret.
109+
110+
.. tip::
111+
You can update an existing webhook by clicking on your webhook. Within the dots on the
112+
right side of the address, you can then :guilabel:`Update details`.
102113

103114
.. _stripe/local-payment-methods:
104115

0 commit comments

Comments
 (0)