Open
Description
openedon Mar 20, 2023
Quick summary
The code assumes that the user is in the same flow when the recur param is changed. If the yearly product is already in cart and the user enters the monthly flow, they'll still see the yearly product in cart. (and vice versa)
Steps to reproduce
- Go to
/setup/ecommerce?recur=yearly
. - Proceed through the steps till you reach checkout.
- In the same tab, go to
/setup/ecommerce?recur=monthly
. - On the domains step, the free option would be hidden, and instead, you would be given a choice to choose the site address you chose previously.
- Select any domain and proceed to checkout.
- The cart would have the yearly plan instead of the monthly plan.
What you expected to happen
The correct plan should be present in the cart.
What actually happened
The plan added via the previous flow was present in the cart.
Impact
Some (< 50%)
Available workarounds?
Yes, difficult to implement
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
To be used when issues have been triaged.To be used when issues have been triaged.This issue was created following a WordPress customer reportThis issue was created following a WordPress customer reportThe checkout screen and process for purchases made on WordPress.com.The checkout screen and process for purchases made on WordPress.com.