When I am trying to "Place Order" -> it is redirecting to cart page,
the order is not placed and cart items are in the cart.

I tried this solution, but unsuccessfully.

I use Mageplaza_Osc

.../checkout/onepage/success -> Status Code: 302 Found

Do you have some ideas?

  • I see in the documentation that Mageplaza_Osc is compatible with 2.3.x, but have you tried disabling that module and testing?
    – mlunt
    Mar 18, 2019 at 18:06
  • which payment method you are using? try with COD as check its working or not. Mar 19, 2019 at 5:16
  • Go to Stores - > Sales - > Checkout - > Shopping Cart There is Option : - After Adding a Product Redirect to Shopping Cart Set to No Mar 19, 2019 at 5:39
  • The question is about the redirection to cart after the order has been placed not after adding a product to cart
    – HelgeB
    Mar 19, 2019 at 5:42
  • 1
    I'm happy I'm not alone with that. It seems that in 2.3.1 there are a lot of changes in how checkout session is handled that's why this bug occured. Unfortunately it's not something the Magento team would handle since it's the extensions that fail and not magento itself. While stepping through the code for each of the modules after the placeOrder function I see that the flow is correct but at the end when it's redirecting to success page the checkout session is empty. It's also happening in all offline payment methods for me too and started after the upgrade.
    – gabtzi
    May 3, 2019 at 11:09

1 Answer 1


Magento makes redirect to cart when something is wrong during making order process. 302 code say that there was redirect.

You should check logs and there should be an answer. Something goes wrong during making order and that's why you were moved to cart.

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.