#venkateshjsoft

1 messages · Page 1 of 1 (latest)

cloud ingotBOT
full turret
#

Hi! Let me help you with this.

#

What version of the CLI are you using?

vital gyro
#

HI

#

how can i find this?

full turret
full turret
vital gyro
#

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?

full turret
#

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?

cloud ingotBOT
vital gyro
#

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

solid panther
#

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

vital gyro
#

If I use stripe cli, im getting an error

#

whereas in the command prompt im getting the signature

solid panther
#

you need to run the listen command in your laptop

solid panther
#

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

vital gyro
solid panther
#

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

vital gyro
#

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."

solid panther
#

now you need to make sure that you are using the correct webhook secret and you're not modifying the request body

vital gyro
#

am i missing something here

#

never mind

#

I figured out

#

Thanks