#Glutch

1 messages ยท Page 1 of 1 (latest)

karmic vergeBOT
pliant sage
#

Hello ๐Ÿ‘‹
So there are two ways you can handle cancellation on your end.

1/ When your customer attempts to cancel the sub mid-month then you set cancel_at_period_end property rather than cancelling the subscription immediately. This would allow you to re-activate the subscription without much hassle.
https://stripe.com/docs/billing/subscriptions/cancel#reactivating-canceled-subscriptions

2/ The other option would be to start a new subscription from scratch and add trial days till the end of billing period

eternal solar
#

@pliant sage Thank you! I'll look into this ๐Ÿ™‚

pliant sage
#

NP! ๐Ÿ™‚ Good luck

eternal solar
pliant sage
#

I don't think it changes the status once its cancelled.

#

cancelled is a terminal state

eternal solar
#

okey, so the correct method is to listen for status = canceled && date.now > billing_end_time

#

so the status is not cancelled if the sub is canceled but still active for a couple of days?

#

the status i "canceled" while being active confirmed (edit: i was wrong)

pliant sage
eternal solar
#

i see i see

#

great

#

thank you!

#

i edited the comment above

pliant sage
#

NP! ๐Ÿ™‚