#Robert Fonzarely
1 messages · Page 1 of 1 (latest)
Hi 👋
Have you taken a look at our webhook builder for NodeJS?
Yes,
But I've seen there is a specific precedure for NextJS
I tried to follow your doc, but I receive : message: 'No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
Tested also with both secrets form the dashboard and the secret from the strip CLI (whsec_62a...)
Hello
Sounds like you aren't getting the raw body
You can figure out if that is the issue for sure by logging out your req.body
If you see JSON then you know you don't have the raw body
If you see a bunch of binary then you do
So I'd do that first
Then work on what that guide you linked states about how to get the raw body (assuming you currently aren't)
Got it ! I had to disable bodyParser from nextjs api. Thanks !