Include setup_intent events in webhook (#24805)
The setup_intent webhook is needed for held payments / no-show fees to work. If it is not included, a booking gets stuck saying "Pending payment" and "Unconfirmed" despite successfully submitting the card info. After including it, the booking status will successfully change to "Card held". See: https://github.com/calcom/cal.com/blob/817e20f11e3a75ec0bc62535a77c618bd27eaaf4/packages/features/ee/payments/api/webhook.ts#L323 https://cal.com/blog/cal-com-s-held-payments-a-useful-tool-for-organizations-offering-free-consultatio
This commit is contained in:
@@ -30,7 +30,7 @@ title: "Stripe"
|
||||
as the webhook for connected applications.
|
||||
</Step>
|
||||
<Step title="Select webhook events">
|
||||
Select all `payment_intent` events for the webhook.
|
||||
Select all `payment_intent` and `setup_intent` events for the webhook.
|
||||
</Step>
|
||||
<Step title="Save the webhook secret">
|
||||
Copy the webhook secret (`whsec_...`) to `STRIPE_WEBHOOK_SECRET` in the `.env` file.
|
||||
|
||||
Reference in New Issue
Block a user