#Naveed | Web3Auth
1 messages · Page 1 of 1 (latest)
Selecting any plan brings up the credit card form (im using setup intents), and then I either create or update subscription
User can choose a plan, and they should also be able to change their plan
Note that baes plan differs from the other plans in the sense that it is the only one with single sub. It only has a monthly metered sub
I wonder how to deal with stuff regarding prorations and what not when it comes to changing plans.
Could you share what your issue is? I can't tell what your problem is here
When it comes to changing from say Base -> Growth, I could update the product in the metered sub to the growth one right, and create a new sub for growth flat fee?
and from Growth -> Scale, I could update the respective product in the respective sub?
Is this a good way of going about things, or should I rather cancel and recreate subs instead
You can create one Price for flat fee and one Price for metered billing, and have both of them in the same subscription as long as their intervals are the same.
When you upgrade the subscription, you can just update the prices in subscription items to the new prices: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
But what about the annual subscription I mentioned
So say you upgrade from monthly to yearly
You can’t put both on the same subscription in that case
When subscription is upgraded from monthly to yearly, are the interval of new prices- flat fee and metered usage the same?
oh to be more clear, when subscription is upgrade from monthly to yearly, i mean only the flat fee part
the monthly mau part remains the same
Oh I see! In this case, it has to be two subscriptions for different intervals. For the flat fee subscription, you can update the price directly with the steps here: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing. You don't have to cancel, then re-create one