Originally published at runheed.com .
Thrown by stripe.webhooks.constructEvent() (a StripeSignatureVerificationError, which logs as Error) in your webhook route when the stripe-signature header does not match the body you passed in. It also covers the wrong signing secret. Two related messages come from the same check: a parsed object instead of the raw body ("Webhook payload must be provided as a string or a Buffer"), and a missing header ("No stripe-signature header value was provided").
Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?…