Magento Paypal issues with base currency INR
magento, paypal, php
Solution
From this Blog:
Go to `app/code/core/Mage/Paypal/Model/Config.php`
Change this array:
`protected $_supportedCurrencyCodes = array('AUD', 'CAD', 'CZK', 'DKK', 'EUR', 'HKD', 'HUF', 'ILS', 'JPY', 'MXN','NOK', 'NZD', 'PLN', 'GBP', 'SGD', 'SEK', 'CHF', 'USD', 'TWD', 'THB');`
To
`protected $_supportedCurrencyCodes = array('AUD', 'CAD', 'CZK', 'DKK', 'EUR', 'HKD', 'HUF', 'ILS', 'JPY', 'MXN','NOK', 'NZD', 'PLN', 'GBP', 'SGD', 'SEK', 'CHF', 'USD', 'TWD', 'THB','INR');`
Another trick :
Go to `app/code/core/Mage/Paypal/Model/Standard.php`
Then change this function:
`public function canUseForCurrency($currencyCode) { return $this->getConfig()->isCurrencyCodeSupported($currencyCode); }`
To
`public function canUseForCurrency($currencyCode) { if($currencyCode == 'INR') { $currencyCode = 'USD'; } return $this->getConfig()->isCurrencyCodeSupported($currencyCode); }`
I also found a paid extension, MageOXY paypal all currencies which assuring to solve the problem.
Problem
Is there any way in Magento where I can integrate Paypal with base currency INR? I have tried the following solutions 1) Inchoo 2) Magentocommerce