#gustavonicot-client_secret

1 messages · Page 1 of 1 (latest)

fast willow
#

Hi there, this error happens when an incorrect client_secret is passed to the flutter app. Can you check how is this client_secrect being passed to the flutter app?

tough arrow
#

I have a backend endpoint and the publishable key appear to be correct

#

I can send you the info if it helps

fast willow
#

Sure, can you send me the payment intent ID?

tough arrow
#

pi_3K4FUYLff3YZzI2e1RpYzuuv

#

I can share the publishable key as well

fast willow
#

It is OK, I just need the payment intent ID

#

Please give me a few mins to investigate

tough arrow
#

thanks!

fast willow
#

so you are performing a direct charge for your connected account?

tough arrow
#

yes

#

correct. it is the first of many customers

fast willow
#

Did you specify the account ID in the Stripe-Account header?

tough arrow
#

am i missing something?

fast willow
#

we also need to include the account ID in the client side (flutter) as well

tough arrow
fast willow
tough arrow
fast willow
#

This is how to pass the account ID in Stripe JS, do you have something similar in your flutter code?

tough arrow
#

looks like it worked

#

thanks!

fast willow
#

Cool, I am happy the problem is resolved 🙂