#dario_api

1 messages ยท Page 1 of 1 (latest)

crystal socketBOT
#

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

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

arctic shale
#

Hello, apologies for the delay. Looking into this and will get back to you

rare frost
#

Thanks

crude shore
#

Hello
Jumping in to help out

#

Are you following any docs/guides for this?

#

If so can you share the URL so that I'm on the same page?

rare frost
#

I was hoping to use it to get account information

crude shore
#

Right right, but the call you're making is from your client-side code correct?
That API endpoint is supposed to be called via server-side SDK since it uses the secret API Key

rare frost
#

Yes, the frontend. I was able to get tax registrations endpoint and tax settings via the frontend, but this one in particular is failing

#

So to confirm, there is no way to use the account endpoint from the frontend?

crude shore
crystal socketBOT
crude shore
#

Quick question - what sort of app are you building?

rare frost
#

Yes, a frontend only app

crude shore
#

Gotcha. In that case, you should be able to use the client to make this request ๐Ÿค”

rare frost
#

Yes, the stripe-app.json has the connected_account_read permission

fathom basin
#

Hi! I'm jumping in for my colleague here. Where are things at? Have you been able to get moving forward again?

rare frost
#

Hi, sadly no, still getting an error getting the account information. But if this endpoint is only usable on the backend, we'll need to skip it for now

fathom basin
#

Do you have a Request ID?

#

That you can share with me?

rare frost
#

Sadly no, it seems as if the Stripe API just rejects the request without even making it on the API

#

Not seeing it in the network log either

fathom basin
#

Digging.

fathom basin
#

Still digging, sorry - have a baker's dozen convos going at the same time. ๐Ÿ˜…

rare frost
#

All good, thanks for trying out

crystal socketBOT
fathom basin
#

What happens if you remove stripeAccount: this.stripeAccountId, from the new Stripe() call?

rare frost
#

Checking

#

Same issue, sadly:

cobalt tangle
#

taking over for timebox and catching up on the thread now... the discord is a little busy atm so it might be a little bit

cobalt tangle
#

ok sorry about the delay.... it looks like this might not currently be possible and the block there may very well be intentional. let me double check some things first though.

#

ok yes, i think i found where in our code we're blocking access to this API