Paypal Address Overridding in Payal Standard in Magent
PaypalPayment Standard Issue
Unable to process payment. Please contact the merchant as the shipping
address provided by the merchant is invalid, and the merchant has
requested that your order must be shipped to that address.
Solution:-
Solution:-
( i ) Copy
app/code/core/Mage/Paypal/Model/Api/Standard.php
to
app/code/local/Mage/Paypal/Model/Api/Standard.php
app/code/core/Mage/Paypal/Model/Api/Standard.php
to
app/code/local/Mage/Paypal/Model/Api/Standard.php
(or)
( ii ) Edit
app/code/core/Mage/Paypal/Model/Api/Standard.php
In the function named _importAddress(&$request)
In the function named _importAddress(&$request)
line number: 211 in magento 1.7.0.2
set
to
It is tested with magento 1.7.0.2
set
$request['address_override'] = 1;
to
$request['address_override'] = 0;
It is tested with magento 1.7.0.2
No comments:
Post a Comment