Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Unable to upgrade to Business plan when another user on the site owns a custom CSS upgrade #74483

Open jamiepalatnik opened 1 year ago

jamiepalatnik commented 1 year ago

Quick summary

It's not possible for a user to upgrade to the Business plan when another user on the site owns a custom CSS upgrade. I was able to recreate this in my test. If the custom CSS upgrade is owned by the user that owns the plan, it's not a problem—the custom CSS upgrade is removed when the user upgrades the plan.

Steps to reproduce

  1. Create a site with two users.
  2. Add a Premium plan owned by User A and a Custom CSS upgrade owned by User B.
  3. Try to upgrade to the Business plan with User A.

What you expected to happen

I would expect to be able to upgrade to the Business plan.

What actually happened

An error appears: "Unable to buy WordPress.com Business, this site has Custom CSS purchased by different user."

Impact

One

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

No response

Logs or notes

User report: 6043108-zd-woothemes

As a workaround, suggested that the user ask the owner of the custom CSS to cancel it or move it to another site, or use a manual payment link to pay for the Business plan, and then we can add it to the site manually.

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

cuemarie commented 1 year ago

📌 SCRUBBING : RESULT - Replicated / Could Not Replicate / Uncertain

📌 FINDINGS/SCREENSHOTS/VIDEO

Simple Example Markup on 2023-03-28 at 16:11:17 Appears on checkout screen after confirming and trying to pay. I remain on the checkout screen at this point, and cannot checkout.

📌 ACTIONS