#george7777_api

1 messages ยท Page 1 of 1 (latest)

alpine shardBOT
#

๐Ÿ‘‹ 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.

brisk rivet
#

๐Ÿ‘‹ 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

dull adder
#

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?

brisk rivet
dull adder
#

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?

alpine shardBOT
prime eagle
#

๐Ÿ‘‹ 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

dull adder
#

Could you confirm if here, the publishable key is of the platform account

prime eagle
#

Yes, it'll be platform's publishable key

alpine shardBOT