#neto-dev_connect-webhook-events
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1399480197518196878
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- neto-dev_webhooks, 30 minutes ago, 13 messages
I don't know if the problem generating the invoice is the same problem as me not receiving the events
Hello, lookign in to this. Do you have an example ID of an event (evt_123) that should have been sent to your ngrok endpoint but wasn't? If not can you try to trigger one now and send the ID from that?
I had some on my old webhook that had already stopped receiving, after I deleted it and created a new one I stopped receiving. I can create one via stripe cli, would that help you?
As long as you can find an event ID that wasn't sent while you had an active endpoint for it, I should be able to look in to what happened on our side
Ah, so the only test mode endpoints on your account currently are connect webhooks, meaning they only receive events from your platform's connected accounts. To start receiving these events you will need to register an account endpoint for that URL
When you are creating the endpoint, the dashboard should give you a choice between making it a connect or account endpoint
https://docs.stripe.com/webhooks#create-webhook-endpoint
Yes but all the endpoints I use are from connect accounts anyway
In my context I wouldn't need the master account, I implemented everything so far like this
Gotcha, in that case the solution would be to create the invoice on one of your connected accounts
Because your existing test mode endpoint will get events from invoices on those accounts
Exactly, I am creating it
The invoice from that event (in_1RpxLZH0Lp07tDY2DjyCZHzr) only exists on your platform account, if you try to retrieve it from the connected account you will get an error that it doesn't exist.
Basically, with Connect, our objects live on the Stripe account that they were first created on
So what you're telling me is that when creating I'm creating with the master account and not with the connect? and that's why I don't receive the webhook?
Exactly
I'm going to check, thank bro
Hii
From what I saw and debugged here the invoices are being created in the connect accounts sub_1RpsAkQn8w7ktsfBbkBtS0sJ and in_1RpsAkQn8w7ktsfBXCkqZh8i
Hi ๐
I'm stepping in as my colleague needs to go. I can see that you created sub_1RpsAkQn8w7ktsfBbkBtS0sJ on the Connected Account acct_1QKixMQn8w7ktsfB in this request: https://dashboard.stripe.com/test/logs/req_njHS9H4hUvBYA1
But for the event evt_1RpxLdH0Lp07tDY25braEn9c, that only exists on acct_1Mc5IsH0Lp07tDY2, which appears to be your platform account
That event is related to the Invoice in_1RpxLZH0Lp07tDY2DjyCZHzr, which you created in this request: https://dashboard.stripe.com/test/logs/req_COnH7R3OULvulr
Note this API request happened on the Platform Account