#richa_51667
1 messages · Page 1 of 1 (latest)
hi! well you're over-complicating I think, you don't need to inspect that string that deeply.
The signature is simply the whole value of the Stripe-Signature header.
so how can i verify it?
you take the value of that header and you pass it to our library functions like constructEvent
have you read the docs for webhooks? https://stripe.com/docs/webhooks/quickstart
what does your code look like right now?
and what if i want to check verify it from my code. like I want match it secret directly
why would you want to? why not use the library function in our library that does it for you instead?
I want to know if that option is there. In docs it's mentioned it can be done. So want to try out that
Thanks