#claudiuyoro_connect-webhook-endpoints
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/1229465524979634316
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
The Stripe CLI will forward both Test and Live mode events
But registered webhooks operate in one mode or another
Hello
Ok, I can see that, but I don't understand what you mean by " But registered webhooks operate in one mode or another "
If you have a registered webhook endpoint in your Stripe Dashboard, it will be set to either Test mode or Live. mode. It will only forward events that occur in the mode for which it is registered.
Okay, I see. Staging is basically set for Test Mode, but I don't receive the webhooks from Test mode. What could I do?
Have you created a webhook endpoint in test mode?
Yes,I have selected Test Mode, Created the webhook, it seems that it already sends the webhooks for events like: price.created, but not account.updated which I need.
Can you share the webhook endpoint ID for your Test mode endpoint?
we_1NdCWuCpWrp8flV3PuqNRtFB
Okay great. Now can you share the ID for an account.updated event that you did not receive?
sure: acct_1P5sMZCzGLDMEPrN
Now this is active, but because I have manually requested to stripe. I could create another account for testing purposes
Oh, wait
Check for this one: acct_1P5sYHCZzpEk3ihM
I just created it
You need to create a Connect specific webhook endpoint
The Stripe CLI also forwards Connect events
Ohh, I see, thank you, this was the problem.
Yeah, the events aren't happening on your account but on the Connected account. That bit is easy to miss though! the CLI almost makes it too easy
Yeah, I didn't knew I need a different endpoint for that.
Is there anything else I need to take in consideration ? ๐
One thing to note is that a Connect webhook will forward every event from all Connected Accounts. So be sure to only listen for the events you are interested in.
Perfect, thank you so much!
Happy to help ๐