Hi guys,
I am using the stripe customer portal to allow users to manage their subscriptions to my app. Depending on what plan they are on they have different limits.
The user should not be able to downgrade to a plan with lower limits then what they are using (eg if they have 100 subscriptions and they are currently on a plan with a limits of 200 subscriptions, they should not be able to downgrade to a plan with a limit of 50 subscriptions).
Is there a way to dynamically specify what plans the user should be able to change to when they get directed to the customer portal?
I have found the portal configurations in the stripe docs but it does not seem to have this functionality.
Any help is much appreciated