When I select the payment method and return back to the site, cart is cleared.

I am testing this on Mollie payments but it works fine for all payments. If I go to the payment page, select a payment method, click "Place Order" and return without paying, then my selected products will be reset.

Is there some way to get around this?

1 Answer 1


Whenever you place an order place the cart is converted to order and that cart will be inactive, so once the order place a new cart is created. so In your case when the order place and then payment get fails the cart gets empty by default.

So You can not prevent a cart from being clear as the cart is converted into an order. You can however set the cart as active again in case of failure

Check below reference


  • but this is magento 1 solution
    – Wwwww
    May 16, 2021 at 17:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.