#george7777_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1442870024011255971
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ This error suggests that the Card Token that you are using was created on your platform account, but as it's direct charge, it would need to be created on the connected account
So we would have to use the publishable key of the connect account to process googlepay ? Is the combination of platform account key and connect account publishable key als work?
I think the only change you'd need to make would be to use the stripeAccount parameter to specify the connected account when you create the Card Token https://docs.stripe.com/api/connected-accounts
We create the token from googlepay and then confirm the payment through stripe (https://developers.google.com/pay/api/web/reference/request-objects)
We create the token from googlepay using the following parameters
"gateway": "stripe"
"stripe:version": "2018-10-31"
"stripe:publishableKey": "xxxxx"
Do we add the stripeAccount parameter to this and it should work?
๐ Taking over this thread, catching up now
To create a Google Pay token on the connected account for Direct Charges, the "stripe:publishableKey" can be set to "pk_test_123/acct_123" where pk_test_123 is the publishable key and acct_123 is the connected account
Could you confirm if here, the publishable key is of the platform account
Yes, it'll be platform's publishable key