magento worldpay doesn't redirect

1.8k Views Asked by At

I've upgraded from magento 1.4.1.1 to magento 1.5.1.1 and I have the Phoenix Worldpay extension installed. When in the checkout, the cart no longer redirects to worldpay after step 5.

If I go to /worldpay/processing/redirect, I get the error: No order for processing found

This is thrown from:

    $session = $this->_getCheckout();

    $order = Mage::getModel('sales/order');
    $order->loadByIncrementId($session->getLastRealOrderId());
    if (!$order->getId()) {
        Mage::throwException('No order for processing found');
    }

Any ideas why?

2

There are 2 best solutions below

0
On BEST ANSWER

I found the solution, it's not the plugin, it's in fact a problem with the checkout.xml layout file. I replaced it with a brand new version and it worked fine

0
On

this error is thrown cause no order is loaded, check if the session has the data this extension needs