diff --git a/app/code/community/Gemgento/Paypal/controllers/ExpressController.php b/app/code/community/Gemgento/Paypal/controllers/ExpressController.php index 3fdcb56..aa59df1 100644 --- a/app/code/community/Gemgento/Paypal/controllers/ExpressController.php +++ b/app/code/community/Gemgento/Paypal/controllers/ExpressController.php @@ -12,6 +12,7 @@ public function startAction() { Mage::getSingleton('core/session')->renewSession(); Mage::getSingleton('core/session')->unsSessionHosts(); + Mage::getSingleton('checkout/session')->getMessages(true); // Create session from Gemgento data if(!empty($_GET['store_id'])) { @@ -27,7 +28,8 @@ public function startAction() } if(!empty($_GET['quote_id'])) { - Mage::getSingleton('checkout/session')->setQuoteId($_GET['quote_id']); + $quote = Mage::getModel('sales/quote')->load($_GET['quote_id']); + Mage::getSingleton('checkout/session')->replaceQuote($quote); } try { diff --git a/app/code/community/Gemgento/Paypal/etc/config.xml b/app/code/community/Gemgento/Paypal/etc/config.xml index 6637c69..674c5b5 100644 --- a/app/code/community/Gemgento/Paypal/etc/config.xml +++ b/app/code/community/Gemgento/Paypal/etc/config.xml @@ -2,7 +2,7 @@ - 0.0.1 + 0.0.2