Automattic / wp-calypso

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

Cart content downgraded when purchasing plugin #93884

Open travisw opened 3 months ago

travisw commented 3 months ago

Quick summary

If a user has business yearly in their cart, and then clicks to install a paid plugin from /plugins (eg. Yoast) which prompts them to upgrade to business, when they click through to checkout we actually “downgrade” business yearly in their cart to business monthly.

Not sure if this is intentional, but keeping the longer term plan might give us an easy little sales boost.

Steps to reproduce

  1. With a logged in user and site without a Business plan already, add Business yearly to your cart, but don't purchase it.

    Screenshot 2024-08-23 at 2 31 16 PM
  2. Go to /plugins and click the "Yoast SEO Premium" card.

    Screenshot 2024-08-23 at 2 36 40 PM
  3. On the Yoast plugin page click "Purchase and activate"

    Screenshot 2024-08-23 at 2 31 47 PM
  4. Click "Install" on the modal.

    Screenshot 2024-08-23 at 2 38 09 PM
  5. Click "Upgrade and activate plugin" on the next modal.

    Screenshot 2024-08-23 at 2 41 52 PM
  6. Notice that Business monthly is now in the cart and not Business Yearly.

    Screenshot 2024-08-23 at 2 32 26 PM

What you expected to happen

I'd expect to the original Business yearly to remain in the cart instead of getting replaced with the monthly version.

What actually happened

The Business yearly plan in the cart was replaced with the monthly version.

Impact

Some (< 50%)

Available workarounds?

Yes, easy to implement

If the above answer is "Yes...", outline the workaround.

On the checkout page the plan can be changed from monthly to yearly. It's less about the user's ability to do so than it is about lost sales from the users who don't.

Screenshot 2024-08-23 at 2 49 10 PM

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

mrfoxtalbot commented 3 months ago

I can replicate this. I suspect we went with the monthly price on the notice below to increase conversion but it works against us in this context:

Image