#atul-subscription
1 messages · Page 1 of 1 (latest)
👋 Happy to help
Subscription status canceled and incomplete_expired is a terminal and final state that can't be updated
Reference: https://stripe.com/docs/billing/subscriptions/overview#subscription-statuses
ok
Please help me in implementingbelow scenario
Suppose customer have subscriped to product on that's subscription cycle is from 1st to 30th of month.
And now customer cancells the subscription on 20th of mont.
And on 25th he decide to resume subscription
How can it be achieved
??
There are two possible ways that I can think of:
- When customer cancels subscription at 20th, customer is allowed to use the service until current cycle ends with
cancel_at_period_end=true, i.e. only cancels subscription at 30th. If the subscription resumes before 30th, subscription will remain active by settingcancel_at_period_end=false. If the subscription resumes in next month, i.e. subscription is past 30th and cancelled, this method won't work. - When subscription is cancelled at 20th, it'll be cancelled immediately. If the customer wants to resume the subscription, create a new subscription.
Yes, I want to implement first one
I have done in similar fashion as described by you in point one
Could you share the subscription ID that doesn't work as expected?
just a second