#stefan-colic_webhooks
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/1301134465250361346
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
The signature used would vary depending on the webhook endpoint the events were sent to. Looks like both shared events were sent to we_1PslCHDsrw47RnMdxULvM1oa and we_1Q2E2EDsrw47RnMdX6vGvAW0 so you can find the related secret for those webhooks in the Dashboard, and then generate the signature with that
Just how to generate a signature?
I have the event and the data with webhook secret
FWIW, generating a signature is complex but some SDKs have helper methods for that: https://github.com/stripe/stripe-node#webhook-signing
Depending on what it is you want to do exactly the CLI may be more appropriate to test webhooks rather than manually sending events: https://docs.stripe.com/cli/trigger
Ah ok, can do that with js. Thanks!
No problem, glad I could help!