#ashish_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/1314343085144150036
๐ 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.
- ashish_api, 6 hours ago, 7 messages
- ashish_best-practices, 3 days ago, 9 messages
- ashish_best-practices, 3 days ago, 4 messages
- ashish_best-practices, 3 days ago, 13 messages
Hi ๐ then I would suggest not canceling the existing Subscription. Instead update it to use the new price. When do you want the customer to be charged the prorated amount for the new Price?
It sounds like immediately, so you likely want to update the Price the Subscription is using, and in that update request also set billing_cycle_anchor to 'now'
https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_cycle_anchor
and proration_behavior to create_prorations.
https://docs.stripe.com/api/subscriptions/update#update_subscription-proration_behavior
How does it works with billing period ?
Can you elaborate? I don't understand what you're trying to ask there.
Even if it's different product catalog pricing, does it work.
Lets say, I have created Two products and each has it's own pricing like Basic and Pro plan.
So each Product has its own Price object?
Altogether we have 2 products and 2 pricings for each of them
Yes
Product1Price1 has existing subscription, but they want to switch to Product2Price2. I want to add that prorated cost to new subscirption payment
Updating the Subscription is the way I would suggest handling that:
https://docs.stripe.com/billing/subscriptions/upgrade-downgrade#changing
Thank you.