#venkateshjsoft
1 messages · Page 1 of 1 (latest)
Are you sure you're providing the webhook endpoint following the argument: https://stripe.com/docs/webhooks#local-listener
stripe version
1.17.0
stripe listen --forward-to localhost:5001/api/stripe/webhook
after forward-to im passing my local endpont
do you need any additional details?
And this command is producting the error?
Looks perfectly fine to me.
I just ran it locally and it worked ok.
Could you please make a screenshot of what you're seeing?
sure
when I Try from command promopt, im not getting any error also im not getting the request from stripe cli to my local api
when I get the signature and try to pass it from postman im getting an error
Hey! Taking over for my colleague. Let me catch up.
First you need to use Powershell in with Stripe CLi, it's expected to not working on Command
If I use stripe cli, im getting an error
whereas in the command prompt im getting the signature
yes that flag isn't supported in Stripe Shell
you need to run the listen command in your laptop
open another powershell
Keep that terminal running
and open another terminal and hit stripe trigger payment_intent.succeeded
check the listen command terminal logs and see if there is new logs lines
Good, that's mean you are getting events to your endpoint
now you need to debug your endpoint and see why it's not responding with 2xx status
im not receiving the request at my end
is it possible to change the listener from http to https
I managed to change to https now
but im getting this error "The expected signature was not found in the Stripe-Signature header. Make sure you're using the correct webhook secret (whsec_) and confirm the incoming request came from Stripe."
now you need to make sure that you are using the correct webhook secret and you're not modifying the request body