Handling Multiple Currencies in Magento: A Comprehensive Guide
When managing multiple stores in Magento, handling different currencies can become challenging, especially when dealing with order processing and invoicing. In this post, we’ll explore how to effectively handle multiple currencies while keeping Japanese Yen as the base currency for both stores.
Understanding the Current Setup
You’re currently facing a situation where your two stores share the same products but have different pricesâStore 1 uses Japanese Yen (Â¥), and Store 2 uses US Dollars ($). To avoid inputting two separate prices, you’ve smartly set Â¥ as the base currency for both stores. This allows you to display the correct price in each store’s frontend.
You’ve successfully converted all prices in Store 2’s frontend to $ using HTML modifications and managed to display the currency as $ even when processing payments through PayPal. However, the issue arises when you attempt to process orders and generate invoices from the admin panel.
The Currency Mismatch Issue
The problem lies in the order details displayed under Sales/Orders in the Magento admin panel. For Store 2’s orders, the order totals show two pricesâone in Â¥ (Japanese Yen) as per your base currency setting, and another one automatically converted to $ for display purposes.
When you try to invoice an order, Magento encounters a currency mismatch issue with PayPal. The error message “Currency of capture must be the same as currency of authorization (#10613: Currency mismatch)” appears because Magento attempts to process the payment in Â¥ while your PayPal setup expects $ for Store 2 transactions.
Solving the Currency Mismatch Problem
To resolve this issue without changing the base currency, you can follow these steps:
Method 1: Set a Custom Currency
-
Go to System > Configuration.
-
Click on Sales under the left-hand menu.
-
Expand the Payment Methods section and click on PayPal Standard.
-
Scroll down to the Displayed Currency field.
-
Select
Customfrom the dropdown menu. -
In the Custom Currency field, enter
$. -
Save your configuration changes by clicking the button in the top right corner of the page.
By setting a custom currency for PayPal Standard payments, you ensure that Magento processes all Store 2 transactions using $, even though ¥ is set as the base currency.
Method 2: Use a Payment Gateway Extension
If you prefer an alternative solution without modifying the core configuration, consider using a third-party payment gateway extension specifically designed to handle multiple currencies effectively. Some popular options include:
- Magestore’s Multi Currency Payment method
- Aheadworks’ Multi Currency Payment Suite
These extensions allow you to manage different currencies for each payment method independently and avoid currency mismatch issues during order processing.
Conclusion
Handling multiple currencies in Magento while keeping a single base currency requires strategic configuration and sometimes the use of third-party extensions. By following the steps outlined above, you can effectively manage both ¥ and $ currencies for your two stores without encountering currency mismatch errors when invoicing orders through PayPal.
Remember to thoroughly test the setup after making any changes to ensure seamless order processing and payment management across all your Magento stores.
For more detailed information on Magento multi-store configuration and currency settings, you can refer to our comprehensive guide at https://laravelcompany.com/blog/magento-multi-currency-setup.
Don’t hesitate to reach out if you have any further questions or need additional assistance with your Magento setup. We’re always here to help!