Going back from checkout empty cart assumes you still have items in your cart. #84228
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
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
The text was updated successfully, but these errors were encountered: