#PrajapatiAk

1 messages · Page 1 of 1 (latest)

young socketBOT
maiden moon
#

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

feral nova
#

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.

maiden moon
maiden moon
# feral nova I'm asking for above approach because I'm deploying my backend on netlify and no...

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

feral nova
#

I've tried this but not getting the result

maiden moon
#

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

feral nova
maiden moon
#

Can I ask if you're working with @vagrant flower ? You have very similar questions