#sayori-customer-active-sub
1 messages · Page 1 of 1 (latest)
Hi! Sorry, actually I have a different question.
No worries
I misunderstood something. Looks like the coupon API works to our needs
Let's say the discount offer only applies to yearly subscriptions. By accepting the discount offer, the subscriber is now subscribed to the same product on a yearly cycle rather than monthly cycle. Is that something we can do through the API?
So you want to update the Sub based on the customer accepting this discount offer, correct?
Right
Our proposed approach is to cancel their current (monthly) subscription, then sign them up for a yearly subscription trial - the trial lasts the rest of the monthly subscription but will start charging on the day the monthly sub would have ended. Seems a little iffy, but this is our workaround to (we think) Stripe not letting us change subscriptions on the fly like this
unless there is a more common approach?
Yeah there are a couple options instead.
The most common thing to do here is to use the Subscriptions Schedule API: https://stripe.com/docs/billing/subscriptions/subscription-schedules
So you would add a schedule at the time of update if you don't want the update to be performed immediately.
That sounds promising...looks like that's the "correct" approach here. If I'm reading this correctly, does this mean using the Subscriptions Schedule API can be done on a case-by-case basis, e.g. I don't have to change our existing structure for customers who have regular subscriptions with no changes?
Correct
You attach a schedule to a Subscription
Or you can create Subscriptions by creating a Schedule
But no requirement for a Sub to have a Schedule
to have a Schedule*? I think I understand
Yep my bad
Using Sub Schedules is definitely the way I would recommend. Everything else is pretty hacky comparatively.
Your workaround is what I would consider the next best way to handle. But then you have multiple Subs for no real reason.
Thanks for pointing me here! I'll discuss this with my team