#alejandromedrano

1 messages · Page 1 of 1 (latest)

hoary loomBOT
sharp bloom
#

Hi! Let me help you with this.

#

At what point do you wish to get the event?

strong compass
#

I got it when a user completed his onboarding process

#

Is that correct? Can I use it to know an account completed their onboarding process with our platform?

sharp bloom
hoary loomBOT
strong compass
#

We didn't get that event when the connect account completed their onboarding process

lilac sparrow
#

It depends on how you're onboarding accounts to your platform: account.application.authorized is generally related to the OAuth flow

strong compass
#

They're express accounts, and we're getting account.application.authorized but not account.updated when onboarding is finalized

lilac sparrow
#

Ok, but are you using OAuth or Account Links?

strong compass
#

Account links

lilac sparrow
#

Can you share an acct_xxx

strong compass
#

This a test one we just completed through the onboarding portal acct_1MyXVdRS0j4JJaZR

sharp bloom
#

There's multiple account.updated events related to this account but it seems like your webhooks are not configured to listen to this type of events.

hoary loomBOT
strong compass
sharp bloom
#

What webhook endpoint is this?

robust palm
#

Hey! Taking over for my colleague. Let me catch up.

#

Can you share the account.application.authorized event you are referring to ?

strong compass
#

Id is "evt_1MyXZpRS0j4JJaZRrNNvWKz7"

robust palm
#

Ok for the account acct_1MyXVdRS0j4JJaZR I see multiple account.updated event was generated. For example evt_1MyXVzRS0j4JJaZRc2KXaSxE but you haven't any webhook endpoint set when it was generated at 2023-04-19 09:41:27 UTC

strong compass
#

Endpoint I mentioned has been going on since March 7, evt_1MyXZpRS0j4JJaZRrNNvWKz7 was sent to that endpoint which is also configured to receive account.updated events

hoary loomBOT
robust palm
#

The actual problem is all account.updated events occured before the connection established.

#

After the Connection established ( account.application.authorized event) there was no update on the Account.

strong compass
#

Ok, I see. so that account.application.authorized event should be sent when onboarding is done, right?

robust palm
#

yes, after that event your Connect endpoint will start receive the Connected Account event

#

including account.updated of the Connected Account's events

strong compass
#

Ok, thanks a lot!