I'm trying to setup PayPal express checkout to bypass redirect to Magento review page. I have followed directions posted on stackoverflow link below but I am still redirected to http://mysite.com/index.php/paypal/express/review/ review page the button has changed to pay now but I am redirected before I can complete checkout.


Anybody point me in the right direction?

Changed \app\code\core\Mage\Paypal\Controller\Express\Abstract.php

returnAction() for: $this->_redirect('//review');

changed: $this->_redirect('//review');

to: $this->_redirect('//placeOrder'); Go to: \app\code\core\Mage\Paypal\Controller\Express\Abstract.php

and search in returnAction() for: $this->_redirect('//review');

There you have to change: $this->_redirect('//review');

2 Answers 2


Actually all the solutions mentioned here required to edit the Magento core. This is known as bad practise and does not keep your shop updateable.

What you need to do for a clean solution:

  1. Create a module (in my exampe: Avoe_Paypal) to include the changes
  2. Rewrite Paypal Config
  3. Redirect on paypal express review step which is http://yourdomain.com/paypal/express/review/

1) Create your module


<?xml version="1.0" encoding="UTF-8"?>



<?xml version="1.0" encoding="UTF-8"?>
                <Mage_Paypal />

2) Rewrite config, add useraction 'commit':

class Avoe_Paypal_Model_Config extends Mage_Paypal_Model_Config {

     * Get url for dispatching customer to express checkout start
     * Added useraction 'commit' to remove PayPal Express Checkout review page
     * @param string $token
     * @return string
    public function getExpressCheckoutStartUrl($token)
        return $this->getPaypalUrl(array(
            'cmd'   => '_express-checkout',
            'useraction' => 'commit',
            'token' => $token,

3) Create observer to redirect:


class Avoe_Paypal_Model_Observer {

    function paypalExpressReturnPredispatch($observer) {

There is also a small Magento extension which was just released yesterday, to remove the review step:


  • Please note that Paypal Express Checkout is a checkout method not a payment method, thus customers by default will always be redirected to the order review page since this is the default flow of events.
    – mkerstner
    Sep 9, 2015 at 5:25

In the PayPal configuration, expand the "Advanced Settings" and look for the option "Skip Order Review Step". Change that to "Yes" instead of "No".

Your Answer

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

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