setTemplate('epay/standard/redirect_standardwindow.phtml'); // // Save the order into the epay_order_status table // $write = Mage::getSingleton('core/resource')->getConnection('core_write'); $write->insert('epay_order_status', array('orderid'=>$standard->getCheckout()->getLastRealOrderId())); } }