Magento2: Multiple refresh on checkout page removes items from cart

Created on 16 Jun 2018  路  3Comments  路  Source: magento/magento2

Preconditions

  1. Magento 2.2.3
  2. PHP 7.1

Steps to reproduce

  1. Add a product to cart
  2. Go to checkout
  3. Quickly refresh the page a couple of times, not waiting until everything is loaded

Expected result

  1. The page is refreshed

Actual result

  1. User redirected to cart page
  2. Cart is empty (no items in quote)
  3. Minicart is still cached and shows the previous state

This is obviously related to #15434 and is the actual problem source.

Fixed in 2.2.x Format is valid Reproduced on 2.2.x bug report

Most helpful comment

There appears to be a fix for this issue, but has not been released yet. Let's just wait for it.

All 3 comments

There appears to be a fix for this issue, but has not been released yet. Let's just wait for it.

@xpoback This solution Fix works for Secure domain only.

@sanganinamrata Since it is strongly _not_ recommended to use Magento and especially the checkout with unsecure urls, the issue can be considered as an acceptable negative side effect of such use and will not affect the majority of systems. Well, at least not the ones I have to work with.

Was this page helpful?
0 / 5 - 0 ratings