Paypal shipping address errors in Magento

Paypal payment gateway is bydefault installed in Magento, you need to just enter your Paypal Credentials and configured it in Magento. Paypal shipping address error is the most common error in Magento. Here are the error message, While creating an order by using the PayPal it is showing the error

1. We’re sorry, PayPal doesn’t allow residents of United States to ship purchases to (anywhere)
2. second situation is when I change my buyer shipping address to USA. I get following error, on first page in paypal: 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.
It is very common error in Magento and you can solve it just by using the steps given below:

Step 1: Navigate to the /app/code/core/Mage/Paypal/Model/Api and search for the Standard.php file.
Step 2: As we never suggest to change the core file of the Magento so copy Standard.php file and Create folders Mage/Paypal/Model/Api under /app/code/local/
Step 3: Open the Standard.php file in your preffered editor and search for $request[‘address_override’] = 1;
Step 4: Replace this code
$request[‘address_override’] = 1; with $request[‘address_override’] = 0;

You have done and now refresh the website cache and check.

Hope it helps and you enjoyed reading, if you need the professional Magento Development we can help you, just Click on the Link and send me your requirements.

Please Like the Post on Facebook or Google+.