@@ -77,12 +77,15 @@ In case your **Webhook Signing Secret** is required to connect with your Stripe
7777create 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
8383 on the *Generate your Webhook * button.
8484
85- .. tab :: Create the webhook manually
85+ .. note ::
86+ To update the webhook, you can click once again on the *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
8891 Stripe dashboard and go to :menuselection: `Developers --> Webhooks `. Then, click on **Add
@@ -91,15 +94,21 @@ create a webhook either automatically or manually.
9194 - | In the **Endpoint URL **, enter your Odoo database's URL followed by
9295 | `/payment/stripe/webhook`.
9396 | 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 **.
97+ - At the end of the form, you can **Select events ** to listen to. Click on it. In the
98+ **Payment Intent ** section, select **payment_intent.amount_capturable_updated ** and
99+ **payment_intent.succeeded **. In the **Setup Intent ** section, select
100+ **setup_intent.succeeded **.
96101
97102 .. note ::
98103 It is possible to select other events, but they are currently not processed by Odoo.
99104
100105 When you click on **Add endpoint **, your Webhook is configured. You can then click on
101106 **reveal ** to display your signing secret.
102107
108+ .. note ::
109+ You can update an existing webhook by clicking on your webhook. Within the dots on the
110+ right side of the address, you can then **Update details **
111+
103112.. _stripe/local-payment-methods :
104113
105114Enable local payment methods
0 commit comments