#saketkr_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/1233355884957143060
๐ 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.
- saketkr_api, 2 days ago, 11 messages
hi there!
Hey
I recommend reading this guide: https://docs.stripe.com/billing/subscriptions/upgrade-downgrade
Thanks for your time.
Actually, I've tried doing this:
"sub_xxxxxxxxx",
items=[{"id": "{{SUB_ITEM_ID}}", "price": "{{NEW_PRICE_ID}}"}],
)```
But, it starts the new subscription from the start_date of the previous subscription, which isn't what I want. Could you help me out with this please?
Also, I need to charge the user in future, when this new chosen subscription starts.
oh I see. if you want the subscription to change in the future, then you need to use Subscription Schedule yes.
have you tried using Subscription Schedules?
I don't think I have, let me do that in a jiffy, and could I get back to you then?
I guess, scheduling the subscription creates the invoice for today itself, customer will be charged now, which is again something I don't want. Am I wrong?
no, with Subscription Schedule you can change the Subscription in the future. so you could say "change the plan of the user in 3 weeks, so the invoice will be created in threee weeks"
you already shared the correct docs: https://docs.stripe.com/billing/subscriptions/subscription-schedules
and you can use Subscription Schedules in test mode to see if it works. I recommend also using Test Clocks to move time forward: https://stripe.com/docs/billing/testing/test-clocks
sure! note that this thread might get closed due to inactivity, but feel free to reopen a new thread if needed.
Sure Soma. Thanks. (:
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Sure Tarzan. Great name. ๐
thanks ๐
Hey, if it's fine by you, could be get on a call and quickly try out the available approaches?