#BugKiller
1 messages · Page 1 of 1 (latest)
Hi 👋
What do you mean reactivate? How is the susbcription created? How does it become inactive?
I mean, I have a subscription with 7 day strial
monthly subscription for $27 for exampl
7 days trial
your subscription was cancelled, but user trying to reactivate it.
2 cases for question
-
subscripotion cancelled in trail period ( like after 3 days), and later user reactivate cancelled one
-
subscription cancelled after trial end , and late ruser reactivate cancelled oen
Sure, that doesn't change the fact that canceled subscriptions cannot be reactivated. But if you have other questions feel free
.....
subscription = stripe.Subscription.retrieve(purchase.subscription_id)
if subscription.cancel_at_period_end:
subscription.cancel_at_period_end=False
subscription.coupon = coupon.code if coupon else None
subscription.save()
.....
I saw of this code written by former dev in company once user clicks reactivate subscription button
if subscription.cancel_at_period_end:
what this means?
in stripe