#gje-update-sub
1 messages · Page 1 of 1 (latest)
Hey! Upgrading subscriptions is documented here: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
Let me know if you have any specific Qs
yup sorry, ok so my qn specifically is that lets say user is subscribed to standard plan (which is its own product), but wants to upgrade to pro plan. after going thru stripe checkout, i assume the user will pay the fixed price for the pro plan on top of the already paid for standard plan
so im not sure how to use the stripe.subscription.modify function
my idea is to just delete the old subscription, and create a new subscription but im not sure if its the best practice
i assume the user will pay the fixed price for the pro plan on top of the already paid for standard plan
So you'd be adding a new line item instead of replacing one?
so this is the standard plan product that the user is currently subscribed to
i have another pro plan product
i tot the user could swap between these two products, when they update/downgrade their plan
I'm confused. You want them to swap? Or you want them to be on top of the existing subscription?
You've said both
um what i want to ask is how to allow the user to upgrade/downgrade the plan and have the cost prorated
If you want the customer to be able to do that, you'd either:
- Use Billing Portal: https://stripe.com/docs/billing/subscriptions/integrating-customer-portal
- Build your own UI using the APIs documented at the link I shared earlier.
ah i see okays thankyou