Stripe webhooks
For the life of me I cannot verify the webhook secret on my Stripe webhook. I've tried console logging the relevant environment variables and they do match. I tried running this action in both the regular Convex runtime and the node.js runtime. I'm really lost 😅
2 Replies
What does the error thrown by stripe SDK say? (do
catch (error) {
and log it
Also make sure that STRIPE_PAYMENT_ENDPOINT_SECRET
is the webhook secret. It should start with whsec_
Turned out I accidentally forgot that I had
stripe listen
forwarding to a different endpoint
oops