#PrajapatiAk
1 messages · Page 1 of 1 (latest)
Why do you need to retrieve the event when it's sent in the body of the webhook?
But you don't need to do signature checking, it's just recommended
If I can't use signature check then is there any security concern or anything ?
I'm asking for above approach because I'm deploying my backend on netlify and not able to use that SDK function of verification due to rawData.
Yes, without the signature verification your webhook endpoint will handle any/all events regardless of whether Stripe sent them or not
You should be able to fix that, Netlify functions should provide a raw data key on the Request object: https://stackoverflow.com/questions/70814759/how-to-get-the-raw-request-body-in-a-netlify-function
I've tried this but not getting the result
I'm afraid this is not really a Stripe issue. You need to work with your hosting provider to figure out how you can access the raw Request object in your functions
Yes, so for that reason I'm not able to get success in verification using SDK or manual, so shall I go with above solution of getting stripe data and event ?
Can I ask if you're working with @vagrant flower ? You have very similar questions