#surbhi

1 messages ยท Page 1 of 1 (latest)

ebon graniteBOT
rigid snow
#

๐Ÿ‘‹ Thanks for reaching out
What is your question?

shy sable
#

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

rigid snow
#

Actually you need to keep this command running in a terminal window
stripe listen --forward-to http://localhost:4242

shy sable
#

its running

#

i did not close anything

#

as u see, it says

rigid snow
#

don't hit ctr^C, it must be running

#

open another terminal and run the trigger command

shy sable
#

ok

#

how do i trigger event then?

rigid snow
#

You open another terminal window and run the trigger command

#

stripe trigger payment_intent.succeeded

shy sable
#

ya it hit... thank u.. i guess it will work now/.. need to test it though

rigid snow
#

Great!

shy sable
#

Hi.. is it possible to test my own appliocation by webhook

#

this worked

rigid snow
#

Yes like that

shy sable
#

but when i try my own site

#

it does not go

#

may be i am misisng something?

rigid snow
#

Are you seeing errors in the stripe listen logs ?

shy sable
#

its not hitting controller

rigid snow
#

that mean the call went successfully to your endpoint and your controller responded with 200

#

According to the screenshot

shy sable
#

but it did not hit my controller.. i was waiting to debug ๐Ÿ˜ฆ

rigid snow
shy sable
#

ya

rigid snow
#

did you added some logs

shy sable
rigid snow
rigid snow
#

line 23 there is nothing...

shy sable
#

i put the breakpoint on 24

#

still no luck

rigid snow
#

This don't looks like the endpoint that stripe listen is hitting... I don't see PaymentStripe/CreateaWebhookEndPoint in your code

shy sable
#

oh shit

#

thanks ..i made a huge mistake

#

i am sorry for taking your time

#

thank u so much