• Resolved allyousee

    (@allyousee)


    Hi!
    We run a few different WooCommerce shops on different local domain with local currencies. Our Braintree account is therefore set up for using multi currencies but it seems like your plugin only supports our standard currency. Is that true or is there any place where I can enter the Merchant Account ID?

    If it’s not possible do you have any plans of adding this in the future? It should be only one field to be added for the API settings.

    https://wordpress.org/plugins/woocommerce-gateway-paypal-powered-by-braintree/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there,

    If you look through the code for get_woocommerce_currency you’ll see where we’re setting the currency.

    You can filter that function to any currency you want.
    https://docs.woothemes.com/wc-apidocs/source-function-get_woocommerce_currency.html#261-268

    So this isn’t something we officially support right now but you can write a bit of code to take advantage of multiple currencies.

    It is something that we’d love to look into moving forward. I’d suggest adding this to our ideas board. 🙂
    http://ideas.woothemes.com/forums/133476-woocommerce

    Thread Starter allyousee

    (@allyousee)

    Hi Patrick,
    I’m not 100% sure that would help, the problem isn’t to set the currency the problem is that if you have a Braintree account with multiple currency support you need to be able set your Merchant Account ID in the plugin so you connect that site with the right currency in your Braintree account. Actually I think this would be pretty easy to add to the plugin just by adding this field, instead of the “auto” connect. Maybe just by adding an “advanced settings”-option for API-settings.

    Patrick, I confirm what allyousee wrote. In Braintree, one merchant account corresponds to one currency. If you have an account in EUR, and you send a payment for 1000 USD/GBP/CAD/JPY, or any other currency to it, the payment will be treated as “1000 EUR” (i.e. the currency you send with the payment data will be ignored).
    To solve the issue, it’s necessary to create multiple merchant accounts, each one with its currency, and send the payments to the appropriate account.

    When the original Braintree plugin was available, we developed an addon (back in 2014), called Braintree Extended, that allowed to set multiple merchant account IDs, and switched merhcant account on the fly during payment. It worked so well that SkyVerge acquired it, and integrated its features directly into their Braintree plugin.

    Now that the PayPal powered by Braintree replaced the original gateway, the same feature has to be ported to it. This is not just a “nice to have“, it’s a key feature for this type of gateway, that should be added to the plugin as soon as possible.

    The good news is that it’s a simple feature to implement, you just need to keep a list of currency => account pairs, and choose the appropriate account depending on the currency. Since it was already implemented before, you should be able to reuse the code that handled it (SkyVerge should be able to help).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Accept Multi-currencies / Enter Merchant Account ID’ is closed to new replies.