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

Going back from checkout empty cart assumes you still have items in your cart. #84228

Open
s1sfa opened this issue Nov 16, 2023 · 1 comment · May be fixed by #98519
Open

Going back from checkout empty cart assumes you still have items in your cart. #84228

s1sfa opened this issue Nov 16, 2023 · 1 comment · May be fixed by #98519
Assignees
Labels
[Feature Group] WPCOM Store & Purchases All things billing on WordPress.com. This includes the backend store, plans, and billing management. [Feature] Shopping Cart Anything related to the shopping cart in Calypso, like adding items to the cart, the mini-cart, etc. [Platform] Atomic [Platform] Simple [Pri] Normal Schedule for the next available opportuinity. [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] In Progress Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended

Comments

@s1sfa
Copy link

s1sfa commented Nov 16, 2023

Quick summary

Going back from checkout and emptying cart for purchasing domain takes you back to a page that expects you have domain still in the cart.

Steps to reproduce

When I tried to purchase a domain, before checkout I got an upsell page asking to setup email or google. I skipped it. When I got to the checkout, I wanted to go back to double check the upsell offers.

I clicked the back button on the top right of the site, (not browser back button). I get message "You are about to leave checkout with items in your cart". I clicked "Empty cart".

I am then returned to the upsell page that was trying to get me to addon email or google to the domain. However, now if I actually try to add those things I get errors.
Trying to add email "We have removed Professional Email for 'mycoolestsiteintheworld5.blog' from your cart because the domain is not connected to your site"
Trying to add google "Sorry, Google Workspace cannot be added to this domain. The domain name servers are not pointing to WordPress.com."
Skip goes back to checkout "You have no items in your cart".

What you expected to happen

When I go back from the cart the page I go back to should know that I emptied the cart and not offer me options that just result in errors.

What actually happened

I couldn't purchase the domain or the addons offered without going back an extra step and trying to add the domain again from the start.

Impact

All

Available workarounds?

Yes, easy to implement

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

No response

@s1sfa s1sfa added [Type] Bug When a feature is broken and / or not performing as intended [Feature Group] WPCOM Store & Purchases All things billing on WordPress.com. This includes the backend store, plans, and billing management. [Feature] Shopping Cart Anything related to the shopping cart in Calypso, like adding items to the cart, the mini-cart, etc. Needs triage Ticket needs to be triaged [Product] WordPress.com All features accessible on and related to WordPress.com. labels Nov 16, 2023
@github-actions github-actions bot added [Platform] Atomic [Platform] Simple [Pri] Normal Schedule for the next available opportuinity. labels Nov 16, 2023
@maciejpilarski maciejpilarski added Triaged To be used when issues have been triaged. and removed Needs triage Ticket needs to be triaged labels Nov 21, 2023
@maciejpilarski maciejpilarski moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Nov 21, 2023
@maciejpilarski
Copy link

📌 REPRODUCTION RESULTS

– Tested on Atomic – Replicated

📌 FINDINGS/SCREENSHOTS/VIDEO

Step 1: Go back and empty cart:
Markup 2023-11-21 at 15 13 08
Step 2: No items/domain in the checkout:
Markup 2023-11-21 at 15 12 27
Step 3: Trying to add the email subscription to the domain that was removed from the checkout:
Markup 2023-11-21 at 15 12 00

Bonus: When searching from the domain again and starting the whole workflow from the beginning it's possible to add the domain:
Markup 2023-11-21 at 15 14 17

📌 ACTIONS
Triaged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] WPCOM Store & Purchases All things billing on WordPress.com. This includes the backend store, plans, and billing management. [Feature] Shopping Cart Anything related to the shopping cart in Calypso, like adding items to the cart, the mini-cart, etc. [Platform] Atomic [Platform] Simple [Pri] Normal Schedule for the next available opportuinity. [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] In Progress Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended
Projects
Development

Successfully merging a pull request may close this issue.

3 participants