• Resolved ochope

    (@ochope)


    We need to send payment to different Stripe accounts based on currency of the order. The USD funds should go to our StripeUSD account, CAD should go to our StripeCAD and EUR should go to our StripeEUR. We cannot have 3 sites, and these really need to have the funds placed in those individual accounts as this is directed by regional sales in different legal entities. Any tips, workarounds & clues? Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi there @ochope,

    We need to send payment to different Stripe accounts based on currency of the order. The USD funds should go to our StripeUSD account, CAD should go to our StripeCAD and EUR should go to our StripeEUR. We cannot have 3 sites, and these really need to have the funds placed in those individual accounts as this is directed by regional sales in different legal entities. Any tips, workarounds & clues? Thanks!

    The WooCommerce core works with a single base shop currency. This allows for store owners to operate with a single payment gateway and eliminates the need for constant pricing changes due to fluctuating currency exchange rates.

    If you want to offer a site that sells in multiple currencies you have a few choices.

    * Set up a Multi-Site – If you use a multisite configuration you can then dedicate a domain or subdomain to each currency/location
    * Use [WPML](https://wpml.org/) – With a tool like WPML you have the ability to create multilingual multi-site installations with ease allowing you to have a separate silo’ed site for each language and currency.
    * Use a multi-currency extension – There is a 3rd party extension called [Aelia](https://aelia.co/shop/currency-switcher-woocommerce/) that allows for the use of multiple currencies on a single site.

    At the base, however, your Stripe account will be to the store via a Webhook – you would need to have a custom solution to only send USD events between the site and the USD Stripe account and so on.

    By default, this isn’t possible to send events like this based on the currency charged as this may cause conflicts between your site and Stripe.

    I would recommend reaching out to Stripe to see if they have any recommendations about a workaround but from a WooCommerce perspective this would at minimum require a custom solution for when and how to send the currency-based events.

    Thanks,

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @ochope

    I hope my answer helped you.

    We haven’t heard back from you in a week, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thanks,

    Hi @ochope,

    I have the same issue, could you please let me know how you handled this?

    Cheers,

    Thread Starter ochope

    (@ochope)

    We were forced to make custom code for this. Changing the API keys on the fly based on user account information.

    I thought so. Thanks for your answer!

    By any chance would you please be able to share this code? (It would help me and a lot of people who are looking for this online).

    I completely get it if you don’t have the time.

    Have a very good day.

    Hi Guys!

    I am Konrad from WPML team and I just found this thread.

    I am happy to inform that we are about to finish implementation of “choose payment gateways based on currency” in Woocommerce Multilingual. Please see the prototype of the screen https://imgur.com/a/1WoCnGO but this will be ready by the end of the year.

    It will be possible to set different accounts per currency for bank transfers, paypal and stripe. More to come in next releases.

    If you want to be informed when this is ready, please follow our blog at https://wpml.org.

    Plugin Support dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @kkarpieszuk

    Thanks for dropping this note, that is great to know for future visitors.

    Hi @ochope,

    I was wondering if you would be so kind as to share some code snippets or even just point me in the right direction for handling multiple API keys on the fly?

    Did you modify the plugin directly? I don’t seem to find a way to set the API keys from the functions file in order for it to be based on current currency selected.

    Any help is appreciated. Thanks in advance.

    Hi @ochope

    I’m also interested in how you did this. Was there a particular hook that let you modify the API keys being used?

    In my case I’m trying to change the stripe account used based on the product being bought, but my needs are basically the same.

    Thanks!

    Hi @cwaldau

    I think I figured this out, see my thread here

    @ilsc Hi, i am also looking for solution on this, can you share your source code ?

    or anyone that know this ?

    @kkarpieszuk I bought WPML purely based on your feedback to this post, and I have been struggling to set it up. The support at WPML claims this is not possible.

    To be exact, I expected based on GeoIP or dropdown menu, the USD funds would go to our Stripe USD account, CAD goes to our Stripe CAD. Both share the same language, English. How can I achieve this?

    Amir

    @ahsadaghiani I am sorry about this. Could you share the link to the forum ticket at wpml.org? I will review, maybe that was bad feedback, maybe solution I described stopped working and we have a regression.

    Remember you can always ask for the refund, but please share the link and I will handle this. Maybe this is just a misunderstanding

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Multiple Stripe Accounts – Based on account currency’ is closed to new replies.