#sow - Tracking Express Onboarding

1 messages ยท Page 1 of 1 (latest)

summer moss
#

Hi. We'd recommend the asynchronous way through webhooks. There can be scenarios where the user won't be redirected properly (a browser crash, they accidentally close the page prior to the redirect, etc.)

timid quail
#

Good to know thanks for your help. One additional question related to this, in our testing we are not seeing express account updates coming through account.updated event, instead we are getting account.application.authorized event. What is the difference between two? Can we use account.application.authorized event for tracking charges_enabled and payout_enabled statuses ?

summer moss
#

This page has a list of recommended events to listen to on connect accounts: https://stripe.com/docs/connect/webhooks. account.updated should be sent for express accounts. You sure you're not seeing those events for express accounts?

#

But the account.application.authorized event just signifies a user has connected to your account

timid quail
#

Got it thank you, so to confirm we have to use account.updated event right ?

summer moss
#

Yeah I'd just make sure your webhook is configured to send that event

timid quail
#

how to troubleshoot it? can we see if an express account generated account.updated event from the source ?

summer moss
#

I would first go to the Webhook settings in the Dashboard and check which events are configured to be sent to your Connect Webhook endpoint.

#

Do you have all events configured to be sent?

timid quail
#

I have configured to get account.updated and account.application.authorized event

summer moss
#

Gotcha. Can you send me the account ID of your Express account where you're seeing this?

timid quail
#

acct_1KHVxQ2H7T4y5Rzp

#

and our webhook id is : we_1KHVsgCHSKMd2K1kkFJS5v9B

summer moss
#

Ok so what's happening is the account.updated events are being fired; however, there aren't any account.updated events on that account after the account was connected to the platform, which is why your webhook didn't receive any. You can trigger an account.updated event if you want after it's connected to the platform simply by updating the account object with some metadata.

timid quail
#

ok thanks for the info. In our case we are trying how it would be in realworld scenario. From our mobile app , after the onboarding we supposed to get an update about the account to the application. but we are not. All we are looking is tracking the charges_enabled and payout_enabled status. So we would like to know how we can do this without simulating any changes on the account object with some metadata.

summer moss
#

Ok so what you can do is you can pull your account ID from the account.application.authorized event and look up the account info you need with the Stripe API. Then, from then on, you'll get account.updated events that you can use to see whatever updates occur on the account.

timid quail
#

Good to know thanks for the information.

summer moss
#

No problem!

timid quail
#

Appreciate your help on this and giving us the clarification ๐Ÿ™‚