How to show Magento order review before payment process

How to show Magento order review before payment process

October 1, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How to show Magento order review before payment process

Optimizing Magento Order Review: Moving It Before Payment

Hello there! I understand you’re looking to optimize your Magento checkout process by moving the order review step before payment. This is actually a common request from many of our clients here at Laravel Company - and it’s completely achievable!

In default Magento setup, the order summary appears after the shipping and payment steps. However, we can easily modify this behavior with some strategic code changes.

Understanding the Default Checkout Process

Before diving into modifications, let’s briefly review the default checkout flow:

  1. Shipping Information
  2. Payment Method
  3. Order Summary (Review)
  4. Place Order

The order summary is only visible after you’ve selected your shipping method and payment type. This is controlled by the onepagecheckout controller.

Moving Order Review Before Payment: The Core Modification

To move the order review step before payment, we’ll need to modify the checkout process itself. Here’s a step-by-step guide to achieve this:

  1. Open your Magento installation folder.
  2. Navigate to app/code/core/Mage/Checkout/controllers/jsonController.php.
  3. Locate the method saveShippingMethod (around line 37).
  4. Inside this method, find the following lines:
$method = $this->_getSession()->getQuote()->getPayment()->setMethod($method);
  1. Replace the above lines with your custom logic to save and refresh the order summary before proceeding to payment:
// Save shipping method first
$this->_getSession()->getQuote()->getShippingAddress()->setCollectCarrierRates(true)->collectShippingRates();

// Update quote and get fresh data
$quote = $this->_getSession()->getQuote();
$quote->setTotalsCollectedFlag(false);
$quote->collectTotals()->save();

$result['success'] = true;
$result['error']   = false;
  1. Save your changes and clear the Magento cache.

Refreshing Order Summary: The Key Functionality

The key to this modification is refreshing the order summary after saving the shipping method. By setting totalsCollectedFlag to false before calling collectTotals(), we ensure that Magento recalculates all totals based on the newly selected shipping method.

Once the totals are recalculated, the updated order summary will be displayed when the user proceeds to the next step - payment information.

This approach ensures that customers always see an up-to-date order review before entering their payment details, providing improved transparency throughout the checkout process.

A Note on Customization

Remember, while this is a common modification, it may require additional customizations depending on your specific Magento setup and extensions. Always test thoroughly after making such changes to ensure compatibility with your existing functionality.

I recommend reviewing our detailed tutorial on Magento checkout customization for more advanced techniques and best practices.

Conclusion: Enhancing the Checkout Experience

By moving the order review step before payment, you’re providing a better user experience by showing customers exactly what they’ll be charged before they enter any sensitive information. This transparency can help reduce cart abandonment rates and improve overall customer satisfaction.

Don’t hesitate to reach out if you need further assistance or specialized development services for your Magento store. We’re here to help!

Checkout Performance Orders JavaScript

Our network