Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use different cancel/switch logic when going from one Stripe plan to another #6

Open
aldeed opened this issue Nov 15, 2016 · 1 comment

Comments

@aldeed
Copy link
Collaborator

aldeed commented Nov 15, 2016

It should do things differently if going from one stripe plan to another. In that case:

  • it should just update the current subscription with a new plan name and then Stripe will automatically prorate and cancel the old plan.
  • it should immediately remove the plan from the user's list rather than keeping it there until the end of the billing period

This will require some changes in aldeed:plans base pkg. A set, when coming from a current Stripe plan, should call a different function in the Stripe pkg, maybe changePlan. Could also add AppPlans.swap for the case where user can have multiple plans at once.

@advancedsoftwarecanada
Copy link

Yes, this! Is this a thing yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants