-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Whilst implementing functionality for users to be able to change their subscription plan/quantity, we came across the following scenario:
- A user has a yearly subscription and wants to downgrade into a monthly subscription (this should happen at the end of their current cycle since they agreed to pay for a year)
- Using
swapNextCycle
, their subscription attributenext_plan
is set for a monthly subscription and a new order item is scheduled for the end of their cycle. - This same user now wants to increase their subscription count (eg. from 1 to 2) which should happen immediately since this is considered an upgrade.
Problem: If we use the current functionality, a new cycle will start when upgrading their subscription count. This will cause the scheduled order item containing the next_plan
to be removed.
When should the plan downgrade happen?
Metadata
Metadata
Assignees
Labels
No labels