#Ayush9200
1 messages · Page 1 of 1 (latest)
Hello! Can you give me some more details here? which webhook endpoint ID are you expecting these events to go to, and what kind of event types are you not receiving?
@dense rapids justing wondering if you saw my question
I am looking for this event "account.updated" which is not triggered from stripe. Rest of the other events that have added are triggered like "payment_intent.succeeded" ,"customer.created"
And if you see this screenshot for the events that I have configured for webhooks, account.updated is there
Do you have an example connect account ID you're expecting an account.updated event for that I can check?
sure, This is one of them - acct_1MvQCFQbFyF1hUIu
Ah, I see the issue - is the webhook endpoint you created an Account webhook or a Connect one?
connect account
I'm not asking about the account - I'm asking about the webhook endpoint. If you look at your webhook endpoints at https://dashboard.stripe.com/test/webhooks what does it say under the "Type" column?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
It says "Account"
Yeah, so that's the problem - Account webhooks only receive events that are generated by your own account (the platform). If you want to receive the account.updated webhook events that are generated by your connect accounts you need to create a Connect type webhook endpoint (see https://stripe.com/docs/connect/webhooks)
oh ok let me check that.
But this was not the case with my previous account, I used to get all the webhooks even from Connect account triggers with "Account" type webhooks.
That shouldn't be the case - if you share your previous account I can take a look and confirm, but as far as I know a regular Account type webhook should never be getting account.updated webhook events
Is it possible for "Local Listeners" to get all web hooks?
How can we manage two webhooks in same project considering they both have different signing secret keys
Sorry I missed that first question - by "local listener" do you just mean one that you're testing through the CLI?
Yes on my local enviroment
You can use the --forward-connect-to flag with the stripe listen command to use it as a connect webhook endpoint
So if you wanted to listen for both you could do stripe listen --forward-to http://localhost:4242 --forward-connect-to http://localhost:4242
Thanks for the help!