#Suren
1 messages · Page 1 of 1 (latest)
hello! you can look into using Subscription Schedules :
https://stripe.com/docs/billing/subscriptions/subscription-schedules
Only way is use subscription schedules ?
yes, it's only possible using Subscription Schedules. It's possible to do both via the Dashboard and API
Is there a method where I can schedule subscription only after ending current period ?
with Subscription Schedules, you can schedule the update after the current period ends - basically :
- create a Subscription Schedule for the existing Subscription : https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#existing-subscription
- update the Subscription Schedule from 1 such that you only update the subscription after the current period ends
in case you haven't seen this yet, you can use test clocks to mimic the passing of time : https://stripe.com/docs/billing/testing/test-clocks
when I will update shcedule subscription my base subscription id will be changed ?
is this right?
no your base subscription id won't be changed
Okay it's good
not quite, you need to pass in the current and future phases, not just the future phase(s)
I understood correctly what I should be create all steps in schedule subscription ? example I have a subscription monthly and I should be create first monthly and after that new subscription period, like this
step 1 : create a Subscription Schedule for an existing subscription using from_subscription, you cannot pass in phases in the same step when creating a Subscription Schedule for an existing subscription
step 2: update the Subscription Schedule from step 1 with the relevant phase details
i'd suggest that you try to run your code, the error messages that you get, will guide you as to what needs to be changed