cancel
Showing results for 
Search instead for 
Did you mean: 

Shipping Restriction Free

Shipping Restriction Free

I have installed Shipping Restriction Free  from

    http://www.magentocommerce.com/magento-connect/shipping-restriction.html

 

This worked only in Cash on Delivery but when i used other payment gateway especially CCavenue.

 

It shows the error.

 

http://postimg.org/image/4sjwi7asz/ 

2 REPLIES 2

Re: Shipping Restriction Free

It doesnt sort the issue and the extension developer doesnt reply to me.

 

 

a:5:{i:0;s:44:"Shipping is NOT available for your location.";i:1;s:1773:"#0 /home/wwwigrocy/public_html/app/code/core/Mage/Core/Model/App.php(1357): Webskills_Shippingrestriction_Model_Observer->Shippingzip(Object(Varien_Event_Observer))
#1 /home/wwwigrocy/public_html/app/code/core/Mage/Core/Model/App.php(1330): Mage_Core_Model_App->_callObserverMethod(Object(Webskills_Shippingrestriction_Model_Observer), 'Shippingzip', Object(Varien_Event_Observer))
#2 /home/wwwigrocy/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('sales_order_sav...', Array)
#3 /home/wwwigrocy/public_html/app/code/core/Mage/Core/Model/Abstract.php(391): Mage::dispatchEvent('sales_order_sav...', Array)
#4 /home/wwwigrocy/public_html/app/code/local/Mage/Sales/Model/Order.php(2105): Mage_Core_Model_Abstract->_beforeSave()
#5 /home/wwwigrocy/public_html/app/code/core/Mage/Core/Model/Abstract.php(316): Mage_Sales_Model_Order->_beforeSave()
#6 /home/wwwigrocy/public_html/app/code/local/Mage/Ccavenuepay/controllers/CcavenuepayController.php(93): Mage_Core_Model_Abstract->save()
#7 /home/wwwigrocy/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Ccavenuepay_CcavenuepayController->redirectAction()
#8 /home/wwwigrocy/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('redirect')
#9 /home/wwwigrocy/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 /home/wwwigrocy/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#11 /home/wwwigrocy/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#12 /home/wwwigrocy/public_html/index.php(83): Mage::run('', 'store')
#13 {main}";s:3:"url";s:34:"/ccavenuepay/ccavenuepay/redirect/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}



Re: Shipping Restriction Free

In your observer, instead of

$address = Mage::getSingleton('checkout/session')->getQuote()
->getShippingAddress();


put

 

$address = $observer->getEvent()->getOrder()
->getShippingAddress();