#Luis G - webhook signatures

1 messages · Page 1 of 1 (latest)

wraith scaffold
#

Hello. Let's chat in here. Let me take a look

eager palm
#

thanks!!

wraith scaffold
#

So the issue here is that the request body you are passing in to constructEvent doesn't match the exact request body that Stripe sends to your webhook endpoint. This is quite common in Node unfortunately due to different framework versions and certain dependencies, so there is a number of potential causes here. I recommend reading this issue, which has different solutions depending on the cause: https://github.com/stripe/stripe-node/issues/341

eager palm
#

had no idea, will review that. Thanks @wraith scaffold 😆