#tungtn1099
1 messages · Page 1 of 1 (latest)
Hi there, you will receive checkout.session.completed when your customer has completed the checkout. For subsequent recurring payments, you'll receive invoice.paid if the invoice is paid successfully, or invoice.payment_failed otherwise. You'll learn the details in https://stripe.com/docs/billing/subscriptions/webhooks
What event does it call after multiple invoice.payment_failed events?
On auto cancel subscriptions
subscription_schedule.aborted is it this one?
It'll be customer.subscription.deleted
No, a new invoice will be created in each renewal.
So if the customer has insufficient funds for recurring, invoice.finalization_failed will be called?
Stripe will create a new invoice anyway but the paid status is false?
Stripe will retry the payment for multiple times based on your settings.
To sum up,
When the first payment is success, Stripe will call my webhook with checkout.session.completed
In the next month for example, if the customer is able to pay the bill, invoice.paid will be called
But if the customer isnt able to, invoice.payment_failed will be called, and customer.subscription.deleted will be called after multiple retries?
If recovery fails, the subscription transitions according to your settings. If you set the behaviour to "Cancel the subscription", then yes the subscription will be canceled.
Thanks ❤️
Hi
I used the test clock to advance time
But when Stripe calls my webhook, I dont see any event that confirms the payment is succeeded
Here are the events on first advance
You want to see if the Invoice is finalized
I mean, you may want to advance another 1 hour to see the Invoice finalized
i advanced to 25/09