Magento – PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument)

magento-1.9paypalpaypal-express

PayPal gateway has rejected my request. It gives me following error:

Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details).

I am using INR as base currency, and placing order using AUD, but I am getting above error.

Please advise any solution for this issue.

Thanks in advance

Best Answer

credits : @Boogz

Create a file Config.php in /app/code/local/Mage/Paypal/Model/Config.php

Step 1

Copy the file from /app/code/core/Mage/Paypal/Model/Config.php to /app/code/local/Mage/Paypal/Model/Config.php

Step 2

Look for the $_supportedCurrencyCodes

protected $_supportedCurrencyCodes = array('AUD', 'CAD', 'CZK', 'DKK', 'EUR', 'HKD', 'HUF', 'ILS', 'JPY', 'MXN',
    'NOK', 'NZD', 'PLN', 'GBP', 'SGD', 'SEK', 'CHF', 'USD', 'TWD', 'THB');

and add your currency that needs supporting, at the end of this array.

I assume INR is Indian Rupee currency. So your array would look like below, after adding the currency to it.

protected $_supportedCurrencyCodes = array('AUD', 'CAD', 'CZK', 'DKK', 'EUR', 'HKD', 'HUF', 'ILS', 'JPY', 'MXN',
    'NOK', 'NZD', 'PLN', 'GBP', 'SGD', 'SEK', 'CHF', 'USD', 'TWD', 'THB', 'INR');

Source : http://www.magentocommerce.com/wiki/3_-_store_setup_and_management/payment/tweak_paypal_standard_for_non-supported_base_currency

Related Topic