Solved – Magento PayPal Issue With Base Currency INR
Paypal offers a fast and reliable online payment service that allows you to pay, send money, and accept payments.
But life is not this simple!
If you are a Magento store owner in India and using Paypal for online payments, you might have faced problems with it when the base currency is INR.
Paypal does not allow payments in the Magento store with base currency as INR by default.
Any issue with the payments is bound to affect the sales and shopping experience of the Magento store. And we don’t want that in business!
Hence the solution to Magento Paypal issue with base currency INR is posted below:
Solution for Magento PayPal Issue With Base Currency INR:
Copy file app/code/core/Mage/Paypal/Model/Config.php
Paste at app/code/local/Mage/Paypal/Model/Config.php
At line number 229, find
1 2 |
protected $_supportedCurrencyCodes = array('AUD', 'CAD', 'CZK', 'DKK', 'EUR', 'HKD', 'HUF', 'ILS', 'JPY', 'MXN', 'NOK', 'NZD', 'PLN', 'GBP', 'SGD', 'SEK', 'CHF', 'USD', 'TWD', 'THB'); |
and replace with
1 2 |
protected $_supportedCurrencyCodes = array('AUD', 'CAD', 'CZK', 'DKK', 'EUR', 'HKD', 'HUF', 'ILS', 'JPY', 'MXN', 'NOK', 'NZD', 'PLN', 'GBP', 'SGD', 'SEK', 'CHF', 'USD', 'TWD', 'THB','INR'); |
And that’s it!
You have a solution for the Magento Paypal issue with INR as the base currency!
You can thank me later once the cash starts flowing in your account 😉
Recently, we also published a solution to another common issue with this payment gateway because of custom amounts in order total. You can read it at How to Manage Custom Amount with PayPal in Magento 2.
Also, I would be glad to help my readers with any doubts on the topic mentioned in the Comments section below.
Don’t forget to help the Indian Magento store owners with this Paypal issue by sharing the solution via social media.
Thanks.
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
2 Comments
how i can make this solution work in Magento 2.4
Hello,
It’s already working on Magento 2.4.
Thank You.