#vladimir_subscription-downgrade

1 messages ยท Page 1 of 1 (latest)

limber cloakBOT
#

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

๐Ÿ“ 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.

feral wadi
gilded slate
#

vladimir_subscription-downgrade

feral wadi
#

hello koopajah ๐Ÿ™‚

#

thank you for jumping in

#

i am not sure if i expaliend it in good way ::)

gilded slate
#

Your Subscription has 2 separate SubscriptionItems si_123 and si_ABC where each are for a different Price id price_A and price_B.
What you need to do is call the Update Subscription API https://docs.stripe.com/api/subscriptions/update and pass the id of the SubscriptionItem you are changing the quantity for

feral wadi
#

aha, moment, let me look this

#

this, right?

#

second record here i need to adjust quantity?

#

does this mean, that next subscrition period (lets say next month) customer will be charged with new quantity?
This time i got this:

#

You can see, i add TWO(2) additional countries

gilded slate
#

this is a picture of Checkout. This is only used to create a brand new Subscription

feral wadi
#

so when i update second item, stripe will charge user next time for updated value, in my case, next subscrition charge will be 105, am i right?

#

or in case that he add more countries (add ons, or line items) stripe will charge more for that amount in next charge?

feral wadi
#

and i added two additional countries to price of subscription plan

gilded slate
#

Yes it will charge more or less based on what you do and also prorate for the period. It's all covered in details in the documentation you already shared which I'd recommend re-reading carefully and then reading https://stripe.com/docs/billing/subscriptions/prorations

but really nothing beats just trying and seeing for yourself

feral wadi
#

i will do so

#

so, basically i call update and pass id of subrscription item (in my case, id in second row in the photo above from database table)