I do not understood how to handle the UI part of subscription upgrades/downgrades that should start at the end of the current billing cycle.
The only built in “stripe hosted” page that handles subscription upgrades/downgrades is the customer billing portal. But, from what I understand, there is no option in the billing portal to make the subscription upgrades only take place at the end of the current subscription’s billing cycle.
There is the subscription scheduling API, which makes sense to use. Thing is, I want to use the interface of the customer portal, and have the functionality that a subscription scheduling would have. A strategy, that does not seem sound to me, that I have thought of is the following:
- Let the user use the billing portal to change their subscription.
- Stripe instantly updates the subscription on their end.
- When the webhook reaches my server I tell stripe to revert the changes it made, and schedule a subscription for next month.
Is this the only way, or a right way at all, to handle this use case?
Explained everything I have tried already
zzzZZZzzz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.