#raw natural - webhooks

1 messages · Page 1 of 1 (latest)

drowsy bridge
alpine ether
#

hi, thanks for joining

drowsy bridge
#

hey there, what exactly are you having trouble with?

alpine ether
#

I have set up webhook.php

#

Now i'm trying to test listening to events

#

And im in terminal

#

stripe listen --forward-to localhost:4242/webhook.php
⣷ Getting ready... > Ready! You are using Stripe API Version [2020-08-27]. Your webhook signing secret is whsec_BGs4lMgcPsKP4ktVYCpxYUekApK49YcU (^C to quit)

#

It said this but then it wont let me type my next line

#

Also, what should I set as my webhook endpoint?

drowsy bridge
#

just a sec, reading

#

what are you expecting to type here, this is a running script that receives events automatically for you to inspect in your local server

#

The CLI listen should only be used for testing webhook code, live endpoint configurations should be set up in your dashboard

#

What are you trying to do, exactly?

alpine ether
#

Yeah I just want to test

#

I'm just trying to test the line: stripe trigger payment_intent.succeeded

glass wigeon
#

you have to type the next line in a different window in your terminal shell

#

the current window is "listening" for events

#

so it won't execute any new commands

alpine ether
#

Ohhh thanks!

#

And what should I set as my webhook endpoint?
webhook.php?
Or a new file, and if so what should be in the new file?