#surbhi
1 messages ยท Page 1 of 1 (latest)
๐ Thanks for reaching out
What is your question?
i managed to triggered events from cmd
but i dont understand, how i can hit my controller
i need to save some data in my db during some event action
it is not hitting my controller
Actually you need to keep this command running in a terminal window
stripe listen --forward-to http://localhost:4242
don't hit ctr^C, it must be running
open another terminal and run the trigger command
You open another terminal window and run the trigger command
stripe trigger payment_intent.succeeded
ya it hit... thank u.. i guess it will work now/.. need to test it though
Great!
Hi.. is it possible to test my own appliocation by webhook
i used stripe listen --forward-to http://localhost:4242/webhook
this worked
Yes like that
but when i try my own site
stripe listen --forward-to http://localhost/ParexAPI/api/PaymentStripe/CreateaWebhookEndPoint
it does not go
may be i am misisng something?
Are you seeing errors in the stripe listen logs ?
when hitting:
http://localhost/ParexAPI/api/PaymentStripe/CreateaWebhookEndPoint
Are you getting particular errors in this backend?
Are you able to call this endpoint? like doing postman call to it
that mean the call went successfully to your endpoint and your controller responded with 200
According to the screenshot
but it did not hit my controller.. i was waiting to debug ๐ฆ
Did you add some break points and debug
ya
did you added some logs
probably you are looking at the wrong side so
This don't looks like the endpoint that stripe listen is hitting... I don't see PaymentStripe/CreateaWebhookEndPoint in your code