WooCommerce Multiple Currencies with BrainTree



WooCommerce Multiple Currencies with BrainTree

WooCommerce Multiple Currencies with BrainTree

We recently had a client who uses WooCommerce and conducts business globally. They use PayPal and BrainTree as their payment processors.

The challenge they faced was that they needed to process payments in USD, AUD, and EUR.

These orders needed to be according to the region in which their customers were coming from.

We solved this problem by using Currency Switcher plugin.

However, this only gave the options of having multiple currencies in the shopping cart (WooCommerce), but when going to anything other than PayPal Standard, it would default to the default currency with that payment module.

To address this, we rewrote the function in the BrainTree module to check the currency (set by Currency Switcher and WooCommerce), and then automatically assign the correct merchant account ID in BrainTree.

Now, payments are routed to the proper Merchant Account ID with BrainTree, based on the currency.

If you are facing a similar problem, let us know. We can help.

4 thoughts on - WooCommerce Multiple Currencies with BrainTree

  • faisal
    Jul 4, 2016 at 12:20 am

    I need exatly same things my currency is CHF and EUR i install woocommerec currecty switcher free plugin i need this module

    • dwdonline
      Jul 6, 2016 at 11:03 pm

      Give us a call or send us an email. I send you a quote. – Philip

  • Arthur
    Sep 20, 2016 at 1:51 am

    Did you actually manage to do this without modifying the class functions in the core files for the braintree plugin?

    • dwdonline
      Sep 20, 2016 at 10:09 pm

      It can be added to your theme’s function, or you could create a quick extension file that overwrites it.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.