#caderann_error

1 messages ยท Page 1 of 1 (latest)

shut moatBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

wet mountain
#

Android

shut moatBOT
dusty abyss
#

๐Ÿ‘‹ Hi there, just taking a look now

#

Looks like the request above was made directly on your platform account, but the setup intent is related to a customer on your connected account

#

Generally this means the Stripe-Account header is missing from the request

wet mountain
#

the request is being made by the setupIntent

#

we're not calling it internally

#

and the same flow works on iOS

atomic musk
#

Taking over here, let me catch up

#

req_xEN8kYcthdYht6 is a request initialised by the publishable key of acct_1DHUSEAk5RfErHut

The request is trying to confirm a Setup Intent that exists on a different account (acct_1OybGXAXSZpEHfLw). Looks like a Connect flow, as when you created the intent here you passed the Stripe-Account header. You need to pass the same header when initialising the RN SDK

wet mountain
#

Hi @atomic musk , if this were the issue, then how is it working on iOS? the initialisation code and the setupIntent flow is exactly the same, and in the logs i can see the accountId being set correctly, since we use it across the app for payment intent as well and it's working as expected.

atomic musk