#kirito

1 messages · Page 1 of 1 (latest)

small pantherBOT
glacial mortar
#

hey again

#

to all except canceled, yes

#

for cancelled subscriptions you'll want to subscribe to customer.subscription.deleted events

gaunt sequoia
#

Ok, would a subscription be deleted after it got canceled automatically or only when I deleted it manually ?

glacial mortar
#

deleted is the event related to any cancelation, whether scheduled/automatic or manual

gaunt sequoia
#

Then what if a subscription payment failed multiple time ?

#

What event would I receive and what would be the state of the new subscription

glacial mortar
#

Depends on your settings for payment failures. There might be no change to the subscription at all.,

#

You would get repeated invoice.payment_failure events though

gaunt sequoia
#

How many times?

#

I want the subscription to stope temporary until the user pay

#

Out terms indicate that ones the user start a subscription he should continue paying it for 12month, after that 12 months I use a subscription schedule to ether renew it or changed it to other products

glacial mortar
#

That's up to you setting the payment failure settings

gaunt sequoia
#

Ok 🙏