#ayo_webhooks-connect
1 messages ยท Page 1 of 1 (latest)
๐ 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/1387464952801001634
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
The event related to the one I'm lookng for is evt_1RdftGBOOywwBjR9npP3LO9L (account updated event)
Hi there. I'll be with you shortly. I'm assisting someone in another thread.
Thank you!
Can you clarify your ask?
Basically at this point I'm not receiving any account update events in the sandbox
I have a test user that just completed the stripe onbaording process.
In the example event you shared, the account settings were changed hence the account.updated event.
After which I expect capability.updated event but I got nothing
I just went through this process in the last 5 minutes
Account Capabilities are specific to connected accounts [0].
Which is the case for this user
The connected account in the screenshot shared is different from the account that was updated.
yes sorry, different examples same problem
Maybe? Which one does capability-updated fall under ? https://docs.stripe.com/api/events/types#event_types-capability.updated
Hi, taking over as my teammate needs to step away. Let me catch up.
You'd want to listen to account.updated as the event gets fired when you request capabilities, https://docs.stripe.com/connect/account-capabilities#viewing. You can also listen to that event you shared to listen if capability has new requirements or a new status.
Can you please check that these events are getting fired. I'm just not seeing them in the console
Check on which account? Can you share the request where you attempted to update the account?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
ayo_webhooks-connect
That's an AccountLink creation so a bit hard to kind of parse what you are asking
the user (me) completed the onbaording on this request
But I think you got mixed up a lot so I'll explain
You are a Connect platform with connected accounts. You want to receive Events happening on connected accounts but you create the wrong type of WebhookEndpoint as you have an Account WebhookEndpoint which only listens to Events happening on your own Stripe account.
You need to create another WebhookEndpoint of type Connect so that it listens to Events happening on connected accounts instead
Ohh okay thank you for that explantion
I thought the webhook I had setup was liestning to connect account events
but it is now
yeah try again and let me know if that doesn't work
Am I able to use the same webhook endpoint to listen to both account and connected account events?
I suppose the webhook secret has to be different?
you can point to the same URL yes but it'd be 2 different WebhookEndpoints in Stripe so with a different we_12345 and a different secret yes
What I've seen people do is add a query parameter to the URL to differentiate when they process those like https://example.com/webhook?type=connect
Thank you. I can give that a shot
Also am I wrong for assuming connect account events should also show up in the console?
hmmm I am not sure, I never use Workbench but I think this only show your own Events. If you look at the Webhooks tab you should see the Events sent to each one right?
Okay I see this now
likely would need to work out the signing secret for it to deliver
yeah using the query param like I mentioned above would help
query string worked like a charm . Thank you.
Thank you everyone ๐