#0xL34N

1 messages · Page 1 of 1 (latest)

proven shuttleBOT
heavy aurora
#

Hi 👋 how can we help?

quick grove
#

Hello!

#

I am trying to test Webhook events locally and nothing is coming through. I'm trying from Postman and if the EP works, I don't know where the problem is...

heavy aurora
#

I'm not sure what you're asking. Are you seeing an error? What are you actually doing?

quick grove
#

I'm register the URL

#

But when i to do this: stripe trigger payment_intent.succeeded

#

No enter in the EP

#

When i try to call the EP by Postman, all it's OK

#

What could i be doing wrong?

heavy aurora
#

I don't know what "EP" means in this context

quick grove
#

EndPoint?

#

The URL

heavy aurora
#

So you have a local listener that you created via the Stripe CLI, then canceled out of. Which part is not working?

quick grove
#

I don't think I'm understanding how this works, how can I test the Webhook?

#

How can I simulate a Webhook call when a payment was successful?

heavy aurora
#

There is no "webhook call". You trigger events that create webhooks. Your webhook listener can listen for those events and forward them to an endpoint on your local machine. There is no way (as far as I know) to use the CLI to forward events to Postman.

quick grove
#

I understand and how can I simulate these events?

heavy aurora
#

You can use a separate CLI session to trigger the events that you described earlier. You need one session that is running and listening for events, and a second session to trigger the event

quick grove
#

Hmm wait a second

#

Yeah!

#

Your are a genius!!

#

Thanks a lot!!!