#braydensterrett
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Do you have events in your Dashboard that are firing but not being deliverd?
Here's the configured webhook endpoint: https://dashboard.stripe.com/test/webhooks/we_1NqMT5DdMtGGqypul8Mhtqbo
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Or is the event not firing?
No, no events ever show up
I am able to receive them on a localhost if I configure that.. but never on a live endpoint
Do you have an example event ID I can check?
Well, I have one from the localhost.. is that what you want?
"evt_1Nq1APRcwNtMVUt5VzkG7GIc"
I would expect this to fire on both the configured localhost listener and the configured webhook endpoints.. but I'm only seeing the listener working
Since we've deployed this to a production-like staging environment, we need to validate against a live webhook endpoint instead of the local listener at this point.
I've also verified that the endpoint that I've configured does, indeed, exist on the server and is public facing
It's weird to me that we're not even seeing the events show up as trying to be delivered by Stripe
I'm also positive that the "account.updated" events should be firing. I'm able to see the Stripe::Account get created in our Stripe dashboard and see the account updates happen as I go through the onboarding forms
Okay the Webhook endpoint you shared was created today
Yeah I just created it about 20 minutes agoish
created 2023-09-14 20:48:55
Eh, maybe more like 50 mins lol
So can you try using the CLI with stripe trigger account.updated to see if that gets to your registered endpoint?
I'm not really able to run that on this server since it's in a production environment.. I have been able to make this work on my localhost though
The events don't show up in the Stripe webhook UI though, they show up in my terminal on the listener
If you run stripe trigger account.updated it will fire the event in test mode. But that will hit your registered webhook endpoints
Can you provide an account.updated event that occurred after you created the endpoint?
You should be able to find then in your Stripe dashboard here https://dashboard.stripe.com/test/events
When you say "no events are showing up" what are you referring to?
I'm expecting some events to show up here, no?
Here's an event ID for one that is showing up.. but it's not an event type that I care about: "evt_1NqNIeDdMtGGqypumj6rx5P6"
I see no "account.updated" events at this link: https://dashboard.stripe.com/test/events
For instance, here's another app that I have webhooks configured on an endpoint. This page is full of events
Perhaps I have the endpoint configured improperly ๐ค
I just added another endpoint with the "Events on connected accounts" option checked.. maybe that's what I want?
I don't look at the endpoint specifically, I look at all the events.
The account the webhook is on is acct_1NNhn3DdMtGGqypu. Is that the account where these events are happening?
It will receive account.updated events for that Account.
acct_1NqN00RV3roDNcKp is the one I've created
If you want to get events for updates that occur on Connected Accounts you need a Connect endpoint
Okay, maybe I just configured it correctly. Let me try to send a webhook and see what happens
We don't want updates to our account, we want them on our user's created connect accounts
Ahhh that was definitely it! Sorry for the run around. I just wasn't quite understanding the difference between the two endpoint types. I think it makes sense now.
Seeing events flowing
No worries! Yeah the account.updated event fires on each account. So you can only get those events forwarded to your platform account by setting up a Connect webhook endpoint
Got it, got it. Thanks a bunch for the help!