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

Hide 20M and 50M legacy plans from the upgrade page #4248

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

RobertJoonas
Copy link
Contributor

Changes

Currently, any grandfathered subscription on a v1 or v2 plan can upgrade to 20M and 50M plans, which are not available in the newer generations of plans.

This PR stops displaying 20M and 50M plans on the /billing/choose-plan page unless the user is already on either of those.

  • If the user is on a 10M plan or below, they will not see 20M and 50M as options anymore. Instead they have to contact us and get a quote for a custom plan.
  • If the user is already on a 20M plan, they can still change their billing interval or downgrade, but they will not be able to upgrade to 50M themselves.
  • If the user is on a 50M plan, they can still change their billing interval, and downgrade, even to 20M.

Tests

  • Automated tests have been added

Changelog

  • This PR does not make a user-facing change

Documentation

  • This change does not need a documentation update

Dark mode

  • This PR does not change the UI

@RobertJoonas RobertJoonas requested a review from a team June 19, 2024 12:05
@RobertJoonas RobertJoonas merged commit db1e755 into master Jun 20, 2024
10 checks passed
@RobertJoonas RobertJoonas deleted the stop-showing-high-plans branch June 20, 2024 10:04
ruslandoga pushed a commit that referenced this pull request Jun 23, 2024
* Stop showing 20M and 50M plans unless user is already on one

* Add tests
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.

None yet

3 participants