#oftysterista_api

1 messages ¡ Page 1 of 1 (latest)

bold pilotBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1395649461107294239

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

finite fern
#

hello alex

#

can u help me

silent crystal
#

hello! yes, you'll need to use a schedule to change the price if you want to do so on the next period. At a high level, you'll need to :

  1. Create a subscription schedule from an existing subscription : https://docs.stripe.com/billing/subscriptions/subscription-schedules#existing-subscription
  2. Update the newly created subscription schedule - you would want to update the phase 0 to only run for one iteration, and include a second iteration that uses the new Price

This general introduction to subscription schedules might also be helpful : https://docs.stripe.com/billing/subscriptions/subscription-schedules

Learn how to use subscription schedules to automate changes to subscriptions over time.

finite fern
#

you would want to update the phase 0 to only run for one iteration, and include a second iteration that uses the new Price

what do u mean by this?

#

especially this part "you would want to update the phase 0 to only run for one iteration"

#

Does that mean I have to fill phase 0 with the current price?

silent crystal
#

Does that mean I have to fill phase 0 with the current price?

no, you don't need to fill phase 0 with the current price. When you create a subscription schedule from an existing subscription, phase 0 is already defined in the subscription schedule. Maybe you can try creating a subscription schedule from a subscription in testmode first, that would make it easier to understand

finite fern
#

i see okay i will try it. so we just need to add a one phase that start on the next period of the subscription with the new price?

silent crystal
#

yep. If you're running into issues, feel free to reach out again

finite fern
#

okay thanks