#Carlos Mascarenhas - Unsubscribe
1 messages · Page 1 of 1 (latest)
Does this help? https://stripe.com/docs/billing/subscriptions/cancel#events
a subscription that has been in effect for several days and is suddenly unable to complete the payment of an invoice, in which case what events are triggered?
Exemple: payment_intent.failed, subscription.deleted …..
Do you have a specific subscription ID for this?
I don't have any specific id
I would just like to know how the event flow works if the payment of a subscription invoice fails
when payment for a subscription fails, what events are triggered by the stripe?
We've got some useful docs on that here: https://stripe.com/docs/billing/subscriptions/webhooks#payment-failures
When a payment fails and a subscription is about to be canceled, what specific event is triggered informing you that a subscription has been cancelled?
Okay so are you looking for when a payment has failed and before a subscription has been canceled or after a subscription has been canceled?
For you to understand my question, I will create an example
example: I have a user who has an active subscription for months and all payments are being made successfully.
One fine day his payment method fails and the stripe is unable to charge the customer.
In my dashboard settings I configured so that there is no automatic payment retry, I configured so that the subscription is canceled immediately.
if so, which webhook events will be fired? Which ones will tell me that the customer's subscription has been cancelled?
In that case you'll want to look out for customer.subscription.deleted: https://stripe.com/docs/api/events/types#event_types-customer.subscription.deleted
You can get more details by listening to invoice.payment_failed and payment_intent.payment_failed too
ok
thanks
Instead of using the confirmation api can I use the confirmCardPayment library?
Sorry for the delay