#atul-subscription

1 messages · Page 1 of 1 (latest)

barren sail
#

👋 Happy to help

tight relic
#

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

#

??

barren sail
#

There are two possible ways that I can think of:

  1. 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 setting cancel_at_period_end=false. If the subscription resumes in next month, i.e. subscription is past 30th and cancelled, this method won't work.
  2. When subscription is cancelled at 20th, it'll be cancelled immediately. If the customer wants to resume the subscription, create a new subscription.
tight relic
#

Yes, I want to implement first one

#

I have done in similar fashion as described by you in point one

barren sail
#

Could you share the subscription ID that doesn't work as expected?

tight relic
#

just a second