#dennis_de
1 messages · Page 1 of 1 (latest)
Where can I find them? Otherwise I can give you the Connect ID, where you can also see in the API logs when the registration was and none is noted on the webhook.
is this in test mode or in live mode?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Connect Registration Request ID: req_KbHvV0ZvWnoBD7
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Live
ok the request ID would suffice
Webhook ID: we_1MawJKJZUpJ6fJ990QwGDrql
All other Connect registrations that trigger an "account.updated" can also be found there. Only not for this Connect account.
We then manually triggered an update this morning, here the webhook was sent out again.
Now, of course, we are wondering if it is normal that simply webhooks are not executed at all or if there was a temporary malfunction. Because depending on this, we have to build processes that will additionally check the lists.
Which we would like to avoid, of course, unless you advise us to do so, as that can happen.
I saw that the event went through and that your webhook endpoint responded with {"message":"Accepted"}
When is the webhook supposed to have been sent? I can't find it in the overview at https://dashboard.stripe.com/webhooks/we_1MawJKJZUpJ6fJ990QwGDrql at that time (not even close).
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
These are the entries we see on the webhook. (https://dashboard.stripe.com/webhooks/we_1MawJKJZUpJ6fJ990QwGDrql)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes exactly the first two events
These are the activities in the Connect account. The request at 17:34 cannot be found in the webhook log, but the request ID (req_KbHvV0ZvWnoBD7) belongs to it.
But these are the updates that we triggered manually this morning. The registration failed when I gave you the request ID.
thx
I have now also found an event ID where you can also see that no webhook was created despite the type "account.updated".
ID: evt_1MbRPaR73Zr3QyMmSlYQJf5f
let me see
Feel free to look at it at your leisure. I have to go to a meeting now. I'll answer you later.
yes I'll come back with an answer shortly, I'm still investigating
are these events that you're referring to happening while the account is onboarding?
Yes, we normally get webhooks as soon as someone appears as a Connect account, i.e. registers.
exactly
so the event you shared was part of the onboarding
that's why you didn't get the webhook
Just a minute, I'll find something.
I got the event ID directly from the logs of the Connected Account, of course the webhooks don't seem to be listed there. I'll see if I can find an event ID that is triggered for us.
Okay, so in our events you don't see the Connected Events at all, so that's not a clue. I'll keep looking to give you a concrete comparison.
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Of none of the events, only one arrived in the "account.updated" webhook and we know this differently.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And that is precisely the problem... Normally someone completes the onboarding and the Connect account is displayed, you send the webhook and we process that. But here, not a single webhook has been executed.
As I said: Also recognisable in the webhook log
Is there any difference of the onboarding of these accounts ?
are you using AccountsLink or Oauth ?
No, at least none that I can recognise. The account was approved and created normally.
We use the links you can create via the Stripe Dashboard.
And as I said, we performed a manual update in the Connect account this morning and an "account.updated" event was sent directly.
Thanks for these details.
So you are using Oauth onboarding flow. As far as the account is during the onboarding ( user entering information in the page) the generated event account.updated don't get sent to the platform. because the connection isn't finished yet.
This is because the connection was finished so you'll receive normally the events.
I understand that, but there must have been at least one event that completed the registration and even that was not triggered via webhook.
We also receive an email as account owner as soon as the Connect account is registered and normally the webhook comes, which did not come.
We usually get between 1 and 2 webhooks on this shortly after registration, on this single account not a single one was sent and if we hadn't done a manual update it would never have been created in other systems.
Yeah, that's one of the inconvenants of using Oauth. is the timing of the actual connection between the connected account and the platform.
Try using account-links instead in order to onboard your connected accounts:
https://stripe.com/docs/connect/express-accounts#create-link
But we did that, didn't we?
Can you share the link you are using in order to onboard your Connected Accounts ?
Dashboard is using Oauth and not AccountLinks
But even if it did, didn't it work for all the other accounts? It's always the same procedure.
This is the Oauth approach and it's not recommended. You should be using AccountLinks for more accurancy.
So I understand the statement that you recommend a different procedure, but it doesn't change the fact that it worked for all the other 7 accounts and only for one account it didn't work.
That's the drawback of using the Oauth approach, the timing of the connection is not always the same.
It is not equal, correct but no webhook was sent at all if we had not manually triggered it.
I also don't think that the problem necessarily has anything to do with what was used to create the account, as it worked perfectly with other accounts. The fact is that the account was connected, the email came normally (*@.com is now connected to your platform) but no "account.updated" webhook was triggered.
It can't be that even if you don't recommend the process, that you offer the possibility to create a link via the dashboard, which in exceptional cases should not trigger a webhook when the account then registers? The explanation is lame.
I just double checked with my colleague and that's what they confirmed too.
correct but no webhook was sent at all if we had not manually triggered it.
You can try to update the connected account again and you'll get the webhook event. But during the onboarding events may not be triggered when using Oauth.
So why did it work for everyone else?
As I said, it worked for 7 out of 8 accounts without any problems. As soon as the Connected Account was successfully connected, a webhook was transmitted.
The timing of the connection is not always the same using the Oauth. that's doesn't mean it happens all the time.
What does timing have to do with it? I know that when the user clicks on the link, no webhook is sent, but when the account finally appears on our site is relevant.
I'm not sure you've really understood the problem.
What does timing have to do with it?.....but when the account finally appears on our site is relevant.
If the event was generated before the connection is done (the account appears on the dashboard) then you won't get the event on your Platform webhook.
So why do you offer this method in your Stripe Dashboard? This sounds more like a procedural error in your own implementation?
But how can it happen that the event is generated before the connection is completed?
Because the event is trigger every time an update was made on the account it self and not something related particularly to the connection to a Platform account.
We have received 2+ webhooks for all other accounts, but none at all for this one. If it was just the order of the first one that triggered an event before the connection, ok, but if the account is connected and that doesn't trigger another update that we get 100%, something doesn't fit for me with them yet
It's true, OAuth flow still features heavily in the Dashboard. However at this point its considered legacy and new platforms should instead adopt Account Links
I understand. But that doesn't change the problem that the respective platform is flying blind and would never have noticed this account if we hadn't noticed it manually. If necessary, the account would have logged in again and changed its data. That can't be right, can it?
And here, too, it continues to make me wonder, far from using it, that no webhook was created, even though an email is sent via the connection from the account.
I'm not sure what you're referencing here
The actual 'connection' between the account and the platform in the OAuth flow isn't established until this step: https://stripe.com/docs/connect/oauth-express-accounts#token-request
Finally, I wanted to add to the message, because it describes the problem concretely. As much as I understand your wording, at the latest after the account is connected to the platform, it should have been informed, as was the case with any other account?
So its expected your Connect webhooks would not receive any events from the account during onboarding
But at the latest when the onboarding process has been successfully completed?
I can't speak to your other account(s) without examples. But, as noted, OAuth onboarding is considered legacy for reasons exactly like this
Not necessarily, unless there was a account.updated event fired after you call that token endpoint
When the email arrives at the platform that a new account is connected, shouldn't an "account.updated" event have been executed there?
So the email that Stripe sends
Maybe? I don't know what email you're referring to, nor do I know exactly when that is sent
E-Mail ID: em_nlejhvgnh1oaiarfrg2gwg2xersgp2
I appreciate you very much and also your help. But I don't think the problem is related.
Shall I give you another case where it worked without any problems? So that you can compare them?
I'd recommend speaking to support regarding this. This isn't a technical/integration issue we can help with directly here, nor is it something you can configure. It's just a limitation of the OAuth onboarding flow that myself and colleagues have noted. This is why its considered legacy and new platforms should use Account Links instead where this isn't an issue.