Skip to content

Magento 2.4.3: Getting “Invalid state change requested” error message on checkout page when persistant cart is enabled

I am getting the error Invalid state change requested when trying to place the order with persistent shopping cart, order places even though error is shown and it causes duplicate order issue(Customer places order again without knowing order is already placed). The issue happens only in below particular scenario

  1. Enable persistent shopping cart from admin
  2. User logged in and added product cart
  3. Wait until customer session expires or Delete PHPSESSID cookie
  4. Try to place the order without signing in