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

Plans (Storage): Wrong values and broken CTA on upgrade plan in admin when storage previously purchased #91047

Closed
chriskmnds opened this issue May 23, 2024 · 0 comments · Fixed by #91050
Labels
[Pri] High [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts Storage Addon [Type] Bug

Comments

@chriskmnds
Copy link
Contributor

Quick summary

When purchasing one of the storage add-ons for a Creator site and going to /plans/[site], the values shown in the storage dropdown for the upgrade plan (e.g. Entrepreneur) will show wrong/ambiguous storage volumes and lead to malformed CTA (with items in cart not permissible for purchase).

With a site on Creator + 50GB additional storage purchased: (100GB selection should really be 150GB, and 150GB should be 200GB):

Screenshot 2024-05-23 at 2 33 02 PM

This is due to a couple of reasons and also points to some intricacies in the implementation:

  1. There is a presumably hard restriction that only a single storage purchase is permissible (so storage selection shouldn't really be shown in this case). This needs some clarity, as the error shown during checkout is that additional storage should be higher than what was previously purchased.
  2. Irrespective of restriction, the storage upgrade volume rendered for the selections should be an addition/accumulation over the site's storage, not a static value. This can easily manifest itself when we allow selections for comparison, or loosen the restriction, or extend the storage limits on a site (so purchasing an additional 100GB over previous 50GB is allowed), or in regressions like the above spilling into the UI

Steps to reproduce

  1. Create a site on the Creator plan
  2. Go to /add-ons/[site] and purchase a 50GB storage upgrade
  3. Go to /plans/[site] and select any of the options in the dropdown for the Entrepreneur plan

What you expected to happen

  1. No storage selections be shown for upgrading to Entrepreneur
  2. Whatever renders to reflect an addition to existing storage of a site, not static/default values

What actually happened

Wrong values rendered altogether: "upgrade to 100GB" when the site's already on 100GB

Impact

Some (< 50%)

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

@chriskmnds chriskmnds added [Type] Bug Needs triage Ticket needs to be triaged labels May 23, 2024
@github-actions github-actions bot added the [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts label May 23, 2024
@chriskmnds chriskmnds added Storage Addon and removed Needs triage Ticket needs to be triaged [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts labels May 23, 2024
@github-actions github-actions bot added [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts [Pri] High labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] High [Status] Priority Review Triggered Quality squad has been notified of this issue in #dotcom-triage-alerts Storage Addon [Type] Bug
Projects
None yet
1 participant