#vzhuh-_best-practices

1 messages ยท Page 1 of 1 (latest)

twin schoonerBOT
#

๐Ÿ‘‹ 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.

echo barn
#

๐Ÿ‘‹ 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

twin schoonerBOT
pulsar spruce
#

Taking over from my colleague. Let me know if you've any follow-up questions

hearty lotus
#

Hi, thank you for your quick response, so you mean not scheduled subscription itself, but schedule using phases, correct?

pulsar spruce
#

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

hearty lotus
#

@pulsar spruce One remark - I don't want to use scheduled_subscription if it's possible

pulsar spruce
#

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

hearty lotus
#

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

pulsar spruce
#

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

hearty lotus
#

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

pulsar spruce
hearty lotus
#

so release better than cancel?

pulsar spruce
#

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

hearty lotus
#

Yes, sure ๐Ÿฅถ thank you for your help! ๐Ÿค—

pulsar spruce
#

np

hearty lotus
#

May I ask one more question?

pulsar spruce
#

Sure!

hearty lotus
#

Like an opposite case:

  1. I want to upgrade plan from $10 to $30
  2. Imagine initial subscription started 01.01.2026
  3. Today is 12.01.2026 - I want to upgrade my subscription
  4. 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
  5. And 02.02.2026 - I will be charged new price and new product attached with price = $30

What the best practice here?

pulsar spruce
hearty lotus
#

OK, so price_id is referenced to the product, corret?

pulsar spruce
#

What do you mean?

#

It's the ID of the price you want the customer to subscribe to (price_abc)

hearty lotus
#

yes, but will it change the product inside the subscription
for example: I have 2 plans:

  1. Level_1 with price = $10
  2. 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?

Upgrade or downgrade subscriptions by replacing prices with proration options including immediate, next period, or no proration for billing adjustments.

#

it's important to for me to track correct product because of statistics

pulsar spruce
#

Yes the parent product of the price will be associated to the subscription if they're different

twin schoonerBOT
hearty lotus
#

is that possible only via API? I don't see that on the dashboard

mild olive
#

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

hearty lotus
#

OK, understand
Thank you!