#ddsaso - Node webhook 400
1 messages · Page 1 of 1 (latest)
Hey! With Node/Express, when this happens you need to either:
- Check that for the webhook endpoint you use a specific raw body parser. See https://github.com/stripe/stripe-node/issues/341 as an example.
- Check that the webhook endpoint secret is set correctly and passed into the “constructEvent” function.
If it’s the endpoint secret, you definitely want to verify that it's correct before going to production since it ensures you’ve authenticated that event and can know it did indeed come from Stripe.