I am using Magento 1.9.1.0
. Below mentioned error happen after payment made by using paypal express checkout.
Steps 1: Register and add a product to cart
Steps 2: Give the Billing Information & Payment Information -Paypal Express Checkout
Steps 3: Make payment
after Pay now button click page shows like this:-
Fatal error: Call to a member function getTelephone()
on boolean in /app/code/core/Mage/Sales/Model/Order.php
on line 1293
Refresh
Unable to initialize Express Checkout.
Error occurred line in this function:-
public function getShippingCarrier()
{
$carrierModel = $this->getData('shipping_carrier');
if (is_null($carrierModel)) {
$carrierModel = false;
/**
* $method - carrier_method
*/
$method = $this->getShippingMethod(true);
if ($method instanceof Varien_Object) {
$className = Mage::getStoreConfig('carriers/' . $method->getCarrierCode() . '/model');
if ($className) {
$carrierModel = Mage::getModel($className);
} // error occured line
}
$this->setData('shipping_carrier', $carrierModel);
}
return $carrierModel;
}
how to rectify this issue?