MDVA-30565: session cache local storage and checkout issue

The MDVA-30565 patch solves the issue with session cache local storage and checkout. This patch is available when the Quality Patches Tool (QPT) 1.0.6 is installed.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce on cloud infrastructure 2.3.3-p1

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.3.2 - 2.3.3-p1
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Cart items can still be seen on the cart page when a customer session times out. This causes an estimate shipping method error where no shipping methods are available for guest checkout.

Steps to reproduce:

  1. Enable persistent shopping cart in the Commerce Admin. (Enable Persistence = “Yes”)
  2. Log in as a customer in the frontend. This creates the persistent_shopping_cart cookie and initiates a persistent session.
  3. Add a product into the cart.
  4. Wait until the frontend session gets timed out, or delete the PHPSESSID cookie.
  5. Now you are a guest user, but if you go to the cart, you can still see the product that was added as a logged-in customer.
  6. Remove the product from the cart, and now the cart is empty. You can see Adobe Commerce deletes the persistent_shopping_cart cookie in this event.
  7. Add a new product into the cart, and go to the cart page.
  8. Now in the browser console it shows V1/guest-carts/4/estimate-shipping-methods request now returns a 404 response with message {"message":"No such entity with %fieldName = %fieldValue","parameters":{"fieldName":"cartId","fieldValue":0}}

Expected results:

The estimate shipping method request returns correct results.

Actual results:

The estimate shipping method request fails with an error like, “Sorry, no quotes are available for this order at this time.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a