#vzhuh-_best-practices
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/1460223690493923491
๐ 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.
- vzhuh-_best-practices, 13 minutes ago, 7 messages
๐ happy to help
the easiest way is to create a schedule from the current subscription, and update that to have 2 phases, the current one and the one with the lowest price
Taking over from my colleague. Let me know if you've any follow-up questions
Hi, thank you for your quick response, so you mean not scheduled subscription itself, but schedule using phases, correct?
Well phases are a concept only available with a schedule. You can migrate their existing subscription to be controlled by a schedule which will handle the upgrade as per your requirement
Just pass from_subscription when you create the schedule: https://docs.stripe.com/api/subscription_schedules/create#create_subscription_schedule-from_subscription
@pulsar spruce One remark - I don't want to use scheduled_subscription if it's possible
There's no way to 'schedule' the upgrade like you describe then, unless you use a free trial period from the time of the upgrade until the time you want it to take effect
give me a second
OK, got it
I will create schedule_subscription from flag from_subscription with phases, but in this case - initial subscription won't be canceled and no any new subscriptions
My goal exactly this - avoid subscriptions cancel where it's possible
initial subscription won't be canceled and no any new subscriptions
Correct, the sub will not cancel and still exists it's just now being controlled by the schedule you set
OK, another question - if I want to cancel this request (let's say customer changed his mind), I just need to find scheduled_subscription and cancel it, correct?
In this case better to save all scheduled_ids in the database to have more control, I believe
You can just 'release' the subscription from the schedule and that will discard and pending phases: https://docs.stripe.com/api/subscription_schedules/release
so release better than cancel?
It you cancel the schedule then it'll cancel the subscription entirely, rather than just the pending upgrade
Sounds like that is not what you wanted
Yes, sure ๐ฅถ thank you for your help! ๐ค
np
May I ask one more question?
Sure!
Like an opposite case:
- I want to upgrade plan from $10 to $30
- Imagine initial subscription started 01.01.2026
- Today is 12.01.2026 - I want to upgrade my subscription
- Now for upgrade I need to do that immediately with proration, so I as customer should extra pay the difference for the end of current month
- And 02.02.2026 - I will be charged new price and new product attached with price = $30
What the best practice here?
You'd just do a normal upgrade on the subscription switch the price and be sure to prorate via proration_behavior: 'always_invoice': https://docs.stripe.com/billing/subscriptions/change-price#changing
OK, so price_id is referenced to the product, corret?
What do you mean?
It's the ID of the price you want the customer to subscribe to (price_abc)
yes, but will it change the product inside the subscription
for example: I have 2 plans:
- Level_1 with price = $10
- Level_2 with price = $30
Level_1 attached to the subscription, if I will change a price to $30 like in article https://docs.stripe.com/billing/subscriptions/change-price#changing
Will I have a subscription with product Level_2 inside as the result?
it's important to for me to track correct product because of statistics
Yes the parent product of the price will be associated to the subscription if they're different
is that possible only via API? I don't see that on the dashboard
hey there, taking over from my colleague ๐
do you mean that you don't see the way to change the Price for a subscription via the dashboard?
if so, you can open the subscription and click 'Update subscription' to bring up the UI where you can make this change
OK, understand
Thank you!