#oftysterista_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1396707538812141650
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- oftysterista_api, 2 days ago, 13 messages
Hi! Do you have an example of a subscription I can look at?
wait
let me create a new one
sub_1Rke3qS7EHeaHKilHEvq0Kxa
let's say this one
actually it is just an active subscription and trialing subscription
so in some condition i need to update the price. can i just directly change the price using subscription update? what will happened if i do it. the the new price will only charge in the new period
It depends on what you wish to achieve. So you start a subscription with a trial. Then you need to change the price to a paid price. Do you want the change to take place immediately or at a later time?
so first i am creating a new subscription with a trial right?
either during the trial period or when the susbcription is already active (without trial), in some condition i want to change the price.
and the price will be charge at the next payment.
so if the price change when the subscription is in TRIALING, when the tiral ends, charge at the new price
if the price change in the middle of active subscription, charge the new price at the next period
that is what i am trying to achieve
Ok so any changes should take place only at the next billing cycle correct?
Give me a moment to look into this.
okay sure
The best way to do this is via Subscription Schedule. You can take a look at this specific use case: https://docs.stripe.com/billing/subscriptions/subscription-schedules#changing-subscriptions
It allows you to update the price but it will only take effect at the next billing cycle.
why i cannot directly update the subscription?
Because the change will take place immediately.
what do u mean will take place?
it will be charge again at that time?
is it different with this update subscription feature in the dashboard?
what do u mean will take place?
it will be charge again at that time?
It may or may not charge at that time depending on the proration options you choose.
It may or may not charge at that time depending on the proration options you choose.
when the option is choose? when creating the subcription? or when i can find out the option?
so if the proration option is none means it will be safe if i update it directly?
but to be more safe we can just use a schedule?
when the option is choose? when creating the subcription? or when i can find out the option?
The proration option is chosen when you update the Subscription. You can use the dashboard for that as well. So when you click on Update subscription you have the option to change the duration of the current price and add a new phase for the new price to start which is what you would do when you are creating a subscription schedule.
You can read more about the proration options that we have: https://docs.stripe.com/billing/subscriptions/prorations
If you make the change via the dashboard, it also has proration options.