#kado-kaelan-webhook-testing
1 messages · Page 1 of 1 (latest)
hello hello! I have a react client/node server. Trying to connect to webhook locally
error in console
looks like its creating the event but its undefined
"Webhook Error: No signatures found matching the expected signature for payload."
Are you testing locally using the CLI to forward events?
Gotcha - if you're already using the webhook secret returned from the CLI, then usually the issue with Node webhooks is some middleware that's modifying the raw body of the request
Do you have body parser, or anything similar that could be doing this?
let me take a look into my middle ware
yeah im modifying all the requests coming in
That's likely the issue then - I'd recommend looking at this suggestion (https://github.com/stripe/stripe-node/issues/341#issuecomment-818708675) for how to get around it