#oxmarco_webhooks

1 messages ¡ Page 1 of 1 (latest)

livid loomBOT
#

👋 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/1240991280650129418

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

arctic edge
#

hi! hmm. Do you have some details like an account acct_xxx where this happened? or a failed API request/error?

umbral mica
#

yes let me take a look

#

essentially the error I get is that my stripe doesn't have enough balance to send payouts

arctic edge
#

that's pretty normal

umbral mica
#

now, when that error arises, connected accounts are invalidated automatically

arctic edge
#

not sure what 'invalidated' means so would love to see some examples!

arctic edge
# umbral mica essentially the error I get is that my stripe doesn't have enough balance to sen...
umbral mica
#

this is the account acct_1PBgY6P2JyKbwJiu

#

I generated an onboarding link, complete the process, but no webhook is sent to the backend

#

to listen to webhooks I am using the local forwarder stripe listen --forward-to localhost:3000/webhook

arctic edge
#

what webhook exactly are you expecting?

arctic edge
umbral mica
#

Ideally account.updated

arctic edge
#

you need --forward-connect-to

umbral mica
#

but in practice no webhook is sent

umbral mica
#

testing it rn

#

still no webhook is sent to the backend

#

I believe the account has already been onboarded so subsequent onboardings don't generate any webhook call

#

which makes it very hard to track what the actual account status is

arctic edge
#

call the Account Retrieve API to get all the details.

umbral mica
#

I thought I could just keep a flag in my db

#

and update it listening to the account.updated webhook event

umbral mica
#

ok I will test and let you know