#narayana-karthik_api

1 messages ยท Page 1 of 1 (latest)

shadow riverBOT
#

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

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

rough wadi
#

hello! to confirm, you are trying to retrieve the Account and received that error message?

#

if yes, can you share the connected account id?

errant pier
#

Let me be clear on this. Customer already have stripe account and they bought our application and try to use their stripe account in our app.
By entering their Stripe account id, what we will do we will call GetAccount method by passing the account id but it throws the error
"code": "account_invalid",
"doc_url": "https://stripe.com/docs/error-codes/account-invalid",
"message": "The provided key 'sk_live****************************************************************************************C1lrv3' does not have access to account 'acct_' (or that account does not exist). Application access may have been revoked.",
"type": "invalid_request_error"

rough wadi
#

i understand, can you share the full account id of the connected account here?

errant pier
#

You mean customer stripe account or our stripe account?

rough wadi
#

does not have access to account 'acct*' -> the account id mentioned in this line

errant pier
#

Here is the customer stripe account id acct_1FHWQzDoSlTRPd1M

rough wadi
#

hmmm, okay, can you share your own platform Stripe account id too?

errant pier
#

This is company stripe account - acct_1JCszhLwgxrWuBgU

#

Where we generated dev api key

rough wadi
#

acct_1FHWQzDoSlTRPd1M is not connected to acct_1JCszhLwgxrWuBgU. How did you go about onboarding / connecting acct_1FHWQzDoSlTRPd1M?

errant pier
#

Basically we will show the below UI to our customer to enter their stripe account, with the entered stripe account id we will verify by just calling the Stripe SDK Accountservice.Get with that accnt number

#

That Get method throwing the error

#

we introduced this connecting existing customer feature in our last release only

#

but we are getting may complaints from our customers who tried to use their existing stripe account

rough wadi
errant pier
#

Oh.. I see.
We are using OAuth for other integration (like QBO)

#

We will check this option I can see where we made mistake let me go through this doc
Thanks.

rough wadi
#

sure! feel free to reach out again if you're still having trouble ๐Ÿ˜„