Preconditions
I used Magento community version 1.9.3.0 then I upgraded to M2 2.1.7 and then I upgraded to 2.2.3 now I am using version 2.2.3
Steps to reproduce
Expected result
Actual result
Hello @TuanBQ
When you do place orders, your quote will become order, so then after the quote is empty.
you need to get last order from the session, hope it will help you.
Thanks for your reply. I did this but all session is cleared it is very strange issue. Nothing in session.
Hello @TuanBQ
May I know after order place it redirects on payment side?
No, it is on Magento side and data returned from Authorize.Net but nothing in session.
Hello,
Is order placed ? and any log into var/log folder or any log into the console.
Please check that ajax response when click on place order.
Order saved in back end after click to purchase but it redirect to empty cart page instead success page. If correct follow it must be go to success page.
Hello @TuanBQ
Have you checked log and console network panel for same?
There is nothing in log file because all flow is correct, only one issue is it redirect to empty cart page instead success page. Correct flow it must be go to success page.
Hi @TuanBQ
Couple of times i have seen this kind of issue , kindly refer this link it might be help you to debug the exact issue - http://blog.chapagain.com.np/magento-redirecting-to-cart-page-from-checkout-page-after-place-order/
Also to fix it temporary here is the solution - https://magento.stackexchange.com/questions/159021/magento-2-user-get-redirected-to-empty-cart-page