#Failing HMAC validation
1 messages · Page 1 of 1 (latest)
should I provide more info?
Are you using expressjs for this? It looks like for some versions it doesn't pass the raw body through, I managed to fix it via adding app.use(bodyParser.raw({type: '*/*'}));
I'm using nestjs
You'll likely need to do something similar to this https://github.com/stripe/stripe-node/blob/master/examples/webhook-signing/nestjs/app.controller.ts to get access to the rawBody
thank you very much. rawBody makes it working
here is the link to rawBody NestJS https://docs.nestjs.com/faq/raw-body
Thanks for confirming!