How to stop the Success page to Redirect
Working on the Checkout success page is hard because whenever developer refreshes that page to see his changes, the page redirects to another page and shows a message that Cart is Empty.
So how to stop that checkout success page redirection?
For this we have to edit Magento core file:
at line number 22
$session→clearQuote(); commnet this line
save the file, clear the cache and now check your checkout page I will not redirect anymore.