#energetic_swan_85077
1 messages · Page 1 of 1 (latest)
Subscription schedule can be used to schedule the changes to next billing cycle: https://stripe.com/docs/billing/subscriptions/subscription-schedules
The steps will be:
- Create a subscription schedule from exsiting subscription: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#existing-subscription
- Update subscription schedule and add a new phase with monthly price: https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases
Hi, I'm sorry, I don't understand it very well after reading it, can you talk about my example in detail?
Thanks for waiting! Discord is busy now
Subscription schedule uses phases to change the subscription in the future timeline
- Since you have an existing subscription, a subscription schedule should be created on top of it with: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#existing-subscription
- After creating the subscription schedule, retrieve and update the subscription schedule in Step 1 with Update Subscription Schedule API (https://stripe.com/docs/api/subscription_schedules/update)
- In phase[0] - the existing ongoing subscription cycle, you will set the
phases.iterationsto 1 that the current cycle with yearly price will keep going until the cycle ends - In phase[1] - the next cycle will start after the phase[0] end and the
phases.items.pricehere should be set to monthly price
Thanks a lot, I'll try it out!
No problem! Happy to help 😄