#BarefootDev
1 messages · Page 1 of 1 (latest)
hello! did you update the webhook secret key? I assume that when you switched to livemode, you created a livemode webhook endpont - that would have a different webhook secret
what do you mean when you say once deployed it's failing with real requests?
what are real requests?
Well if i run the webhook handler locally and test it using the stripe cli trigger it works fine, but then i deploy the handler as a serverless function (on firebase), and then create a checkout session, execute a test payment, and wait for the handler to process the event
but in processing the event it fails to verify the sig
This is what im using in the handler: https://dashboard.stripe.com/test/webhooks/create?endpoint_location=local
Can you share your account id? You can find your account id by logging in to https://dashboard.stripe.com/settings/account. It'll be in the upper right hand corner and looks like acct_123
acct_1LycYRBmNCZKiCRj
i assume this is what you've setup to receive / send events right? https://dashboard.stripe.com/test/webhooks/we_1MF9ByBmNCZKiCRj0hLlHG4w
You need to use the webhook secret for that webhook endpoint
click on Reveal under Signing secret