#Brendan Dewberry

1 messages · Page 1 of 1 (latest)

dawn anvilBOT
sullen vigil
#

btw, I am using Test mode currently

rustic panther
#

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

sullen vigil
#

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

rustic panther
#

Okay so the next step would be to check that Vercel is passing along the stripe signature header and logging that.