#Brendan Dewberry
1 messages · Page 1 of 1 (latest)
btw, I am using Test mode currently
Hi 👋
The #1 reason behind these errors when going from local or dev to production environments is the Webhook secret is not being loaded properly into the runtime environment.
Since this is only required to check the signature it means the only error you get is the "no signatures found".
I would recommend logging the value and making sure it matches what is displayed in your Dashboard as the signing secret for your production webhook endpoint
That makes sense. I have added a console.log statement in my stripe-webhook.ts file and that does get printed out in my Vercel logs. I also have verified that it matches the webhook that I have set up on stripe
Okay so the next step would be to check that Vercel is passing along the stripe signature header and logging that.
Also my colleague recently wrote a great guide to troubleshooting webhook delivery issues. You can see it here: https://support.stripe.com/questions/troubleshooting-webhook-delivery-issues