#.n0tnull
1 messages ยท Page 1 of 1 (latest)
Hi ๐ can you elaborate on that a bit? Like are you trying to accept Google Pay for your own account, in which case you don't need to provide an account ID? Or is this part of a Connect flow?
I have multiple account_id (one per country) and I don't see how to create the payment method on a specific account when using GooglePayPaymentMethodLauncher
When adding a credit card with validation using the PaymentLauncher, we can pass the account_id as parameter
You use your API keys to indicate which account you want to be making requests to, you'll swap the secret and publishable keys being used in your flow to change the account you're using.
I don't have access to other keys. Only the main one. So it seems to be an issue
Do you have any other solution ?
Maybe calling again PaymentConfiguration.init just before making the call ? ๐ค
Are you using Connect? Otherwise you can't (and shouldn't) be able to take action on an account you don't have the keys for, that's the point of those keys.
I don't know what is Connect. I'm using the Android SDK
Connect is our solution for building scenarios where multiple parties are involved:
https://stripe.com/connect
You should look into using it if you want to build a flow where you have a Platform that is taking action on behalf of other entities (such as vendors or suppliers).
We are not a marketplace or PaaS. We have an account id per country
Then I would expect you to have access to your API keys for each of your accounts. If you don't you may want to work with your team(s) to get access to those keys, or link all of your accounts together using Connect as though you were a marketplace.