Skip to content

Ecommerce tailored flow does not reset when recur param is changed. #74641

Open

Description

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

  1. Go to /setup/ecommerce?recur=yearly.
  2. Proceed through the steps till you reach checkout.
  3. In the same tab, go to /setup/ecommerce?recur=monthly.
  4. 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.

image

  1. Select any domain and proceed to checkout.
  2. 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

No one assigned

    Labels

    Plans: eCommerceTriagedTo be used when issues have been triaged.To be used when issues have been triaged.User ReportThis issue was created following a WordPress customer reportThis issue was created following a WordPress customer report[Feature] CheckoutThe checkout screen and process for purchases made on WordPress.com.The checkout screen and process for purchases made on WordPress.com.[Pri] Normal[Type] Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions