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

Move to Stripe Prices #161

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Move to Stripe Prices #161

wants to merge 4 commits into from

Conversation

dracos
Copy link
Member

@dracos dracos commented Oct 2, 2024

As well as being the modern Stripe way of doing it, this makes it easier to switch to different prices because we're not reliant on particular Stripe price (plan) IDs. A switch would then involve:

  • Creating new Prices, including calls metadata entry
  • Updating the price IDs in the settings and redeploying (for new subs)
  • Emailing everyone to give them notice of the price change
  • Running the script to schedule in everyone else's change after their next period (the end of the one after their current one)

No change in functionality.
Switch to using metadata on the price to get the number of calls for a
price, rather than assuming it can be worked out from the price (plan)
ID.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant