cwaldau
Forum Replies Created
-
Hi @ilsc,
Thank you for following up in the other thread and pointing me here.
Personally I ended up being able to do what I needed without any modifications. As it turns out my client set up the Stripe account in two different workspaces instead of in the same workspace. I thought I would need to swap keys in order to send US funds to the US account and the CAD funds to the CAD account.
Finally it just required having both accounts in the same workspace and therefore I was left with only 1 set of API keys. Thus, there was no additional modifications needed.
However, when I was thinking about how to accomplish this and digging through the plugin source code, I realized where it would cause complications is on the wp-admin dashboard for things like returns and cancelled payments etc.
Front end seems possible to do with your suggested setup and based on the product but have you thought about how you will handle it in the dashboard? You will need to evaluate which product category it belongs to and ensure that any API keys transactions are using the correct ones.
Otherwise thats the only thing I could foresee being a problem.
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.