Reputation: 719
I know this is a very generic question but my case is different. Please read it completely.
While configuring PayPal with my Indian currency based Magento Store I am getting below error.
PayPal gateway has rejected request. Currency is not supported (#10605: Transaction refused because of an invalid argument. See additional error messages for details). Internal Error (#10001: Transaction failed due to internal error).
I have tried all solutions available at Magento paypal currency error
Base Currency in my store is - Indian Rupee
I have configured all currencies in app/code/core/Mage/Paypal/Model/Config.php and rest all settings seems to be setup perfectly. But still I am getting above error.
Please suggest where I am making mistake.
Upvotes: 4
Views: 4462
Reputation: 371
I have used small trick to rid this error. It is not good solution but sometime it is useful.
Go to app\code\core\Mage\Paypal\Model\Express\Checkout.php. Find the public function start and find below code
$this->_api->setAmount($this->_quote->getBaseGrandTotal())
->setCurrencyCode($this->_quote->getBaseCurrencyCode())
->setInvNum($this->_quote->getReservedOrderId())
->setReturnUrl($returnUrl)
->setCancelUrl($cancelUrl)
->setSolutionType($solutionType)
->setPaymentAction($this->_config->paymentAction);
Just replace the below code
$this->_api->setAmount($this->_quote->getBaseGrandTotal())
->setCurrencyCode('USD')
->setInvNum($this->_quote->getReservedOrderId())
->setReturnUrl($returnUrl)
->setCancelUrl($cancelUrl)
->setSolutionType($solutionType)
->setPaymentAction($this->_config->paymentAction);
With this trick now you will go to paypal without any error. But you have to convert the price from Base Currency to USD.
Note: This solution is only for Paypal Express Users.
Code Taken From: http://chandreshrana.blogspot.in/2016/06/paypal-gateway-has-rejected-request.html
Upvotes: 0
Reputation: 1293
Paypal doesn't support Indian Currency. So you need to convert your base currency to the accepted Currency of Paypal before proceeding to Checkout for Payment via Paypal.
Upvotes: 0
Reputation: 31624
It doesn't look like the Indian Rupee is a currency accepted by Paypal. Consult the currency list to see what you can and can't accept
Upvotes: 2