Multiple PayPal accounts
-
I am trying to get your plugin to work with multiple paypal accounts in one woocommerce store and I nearly have it working.
If I individually change the merchant_email, merchant_id, client?id and client_secret options in the plugin settings then transactions work as expected to the correct account and refunds etc are handled correctly.
However, if I dynamically change those 4 option values (including their respective sandbox values, eg merchant_email_sandbox) using custom code, money ends up in the right account, but refunds etc don’t work as the API is still linked to the original plugin settings when saved.
How can get this to work, is there a function call to update the API settings with the new option values or are there some other values I need to modify?
- The topic ‘Multiple PayPal accounts’ is closed to new replies.