#Carlos Mascarenhas - Unsubscribe

1 messages · Page 1 of 1 (latest)

wide junco
onyx vine
#

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 …..

wide junco
#

Do you have a specific subscription ID for this?

onyx vine
#

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?

quartz ocean
onyx vine
#

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?

quartz ocean
#

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?

onyx vine
#

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?

quartz ocean
#

You can get more details by listening to invoice.payment_failed and payment_intent.payment_failed too

onyx vine
#

ok

#

thanks

#

Instead of using the confirmation api can I use the confirmCardPayment library?

quartz ocean
#

Sorry for the delay