Magento Paypal issues with base currency INR

Magento Paypal issues with base currency INR

August 29, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento Paypal issues with base currency INR

Resolving Currency Issues with PayPal Integration in Magento

As an e-commerce merchant operating in India, you may face challenges when integrating PayPal with the base currency set as INR (Indian Rupees). Although PayPal officially supports INR transactions, some configurations can lead to errors or unsupported currency issues. In this guide, we’ll explore two common solutions and provide a third approach that resolves these problems effectively.

Understanding the Currency Integration Challenges

When integrating PayPal Standard in Magento, the platform follows a fixed flow:

  1. It converts the order total from the store’s base currency (INR) to the customer’s selected payment currency.
  2. This converted amount is passed to PayPal for processing.

However, if the customer selects a currency that PayPal doesn’t support directly in your account settings, an error occurs during this conversion process. This situation arises even when the supported currencies list includes INR, as Magento may not recognize it as a valid option during currency selection.

Exploring Existing Solutions

Before we delve into our recommended approach, let’s examine the two methods you mentioned:

1. Inchoo’s Currency Switching Method

The Inchoo article suggests overriding the Mage_Paypal_Model_Standard class to force a specific currency for PayPal transactions. While this method can work in some cases, it introduces hardcoded values and doesn’t address the core issue of unsupported currencies.

2. Magento’s Direct Payment Method Tweak

Magento’s official wiki recommends using the “Direct Payment” method instead of “Standard,” which bypasses the currency conversion process. However, this approach still leaves you vulnerable to PayPal’s supported currency restrictions and may not resolve all INR-related errors.

The Optimal Solution for INR Currency Integration

To ensure a seamless integration experience with PayPal and the base currency set as INR, we recommend an alternative approach that combines Magento’s built-in features with some customizations:

Step 1: Enable Multi-Currency Support in Magento

Start by enabling multi-currency support within your Magento store. This allows customers to select their preferred payment currency during checkout without relying on PayPal’s currency conversion.

To enable this feature, navigate to the backend and follow these steps:

  • Go to Stores > Configuration > Currency Setup.
  • Set “Enable Multi-Currency” to “Yes.”
  • Configure the allowed currencies in the “Currency Rates” section.

Step 2: Configure PayPal Standard with INR Support

Next, configure your PayPal Standard payment method to recognize INR as a supported currency:

  1. Log in to your PayPal Business account.
  2. Navigate to the “Profile” tab and select “My selling tools.”
  3. Click on the “Update” link next to “Currency Converter.”
  4. Add INR to the list of supported currencies.

Step 3: Integrate PayPal Standard with Custom Currency Conversion

To ensure a smooth integration process, we need to modify Magento’s communication with PayPal to handle the currency conversion internally before sending the order data. Create a custom payment method that extends Mage_Paypal_Model_Standard:

  1. Copy the app/code/core/Mage/Paypal/Model/Standard folder to your theme or local extension.

  2. Rename the copied folder to app/code/local/Custom/Paypal/Model/Standard.

  3. Open the app/code/local/Custom/Paypal/Model/Standard.php file and modify the following methods:

    a. In the __construct() method, add the following line:

    parent::__construct($paymentData);
    $this->setUseCheckout(true);
    

    b. Override the getCurrencyCode() method with this custom code:

    public function getCurrencyCode()
    {
        if ($this->getConfig()->isCurlSupported()) {
            return Mage::app()->getStore()->getCurrentCurrencyCode();
        } else {
            return $this->_code;
        }
    }
    

    c. Override the getOrderPlaceRedirectUrl() method:

    public function getOrderPlaceRedirectUrl()
    {
        // Directly redirect to success page, as PayPal won't handle INR currency
        return Mage::getBaseUrl() . 'paypal/standard/success';
    }
    

Step 4: Create a Custom Success Page

Finally, create a custom success page that handles the redirected order data from the previous step. In your theme or local extension, add the following files:

  • app/code/local/Custom/Paypal/controllers/StandardController.php (to handle the redirection)

  • app/design/frontend/theme/default/template/paypal/standard/success.phtml (the custom success page template)

The controller will process the order data and update it with the correct currency details before displaying the success message to the customer.

Conclusion

Integrating PayPal Standard with a base currency set as INR in Magento requires careful consideration of both platform and payment gateway configurations. By enabling multi-currency support within your Magento store and following our custom integration approach, you can ensure a seamless checkout experience for your customers while avoiding unsupported currency errors.

Remember to thoroughly test this solution before deploying it on your live production environment, as it involves custom modifications to the core Magento files.

For more comprehensive guides on Magento development and advanced e-commerce solutions, visit Laravel Company – we offer expert consulting services to help you optimize your online store’s performance and security.

Configuration Orders Customers Pricing

Our network