#tungtn1099

1 messages · Page 1 of 1 (latest)

sour mossBOT
rotund vine
bleak citrus
#

What event does it call after multiple invoice.payment_failed events?

#

On auto cancel subscriptions

#

subscription_schedule.aborted is it this one?

rotund vine
#

It'll be customer.subscription.deleted

bleak citrus
#

Alright, thanks ❤️

#

Does recurring payments share the same invoice?

rotund vine
#

No, a new invoice will be created in each renewal.

bleak citrus
#

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?

rotund vine
#

Stripe will retry the payment for multiple times based on your settings.

bleak citrus
#

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?

rotund vine
#

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.

bleak citrus
#

Thanks ❤️

sour mossBOT
tough siren
#

Hi

bleak citrus
#

Hi

#

One sec lemme delete the other message

tough siren
#

No need to

#

Just continue here

bleak citrus
#

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

tough siren
#

You want to see if the Invoice is finalized

bleak citrus
#

yep

#

but stripe doesnt send me the event

tough siren
#

I mean, you may want to advance another 1 hour to see the Invoice finalized

bleak citrus
#

i advanced to 25/09

bleak citrus
#

Which card do I add to test fail subscription renewal?

#

Stripe doesnt let me add this one