I am creating a payment gateway using Stripe.
I want to set my localhost url localhost/stripe/webhook.php
as my webhook url. Is it possible to set a localho
There's now another option: you can now use the Stripe CLI to seamlessly test webhooks locally without the need for a 3rd party tool.
In this case you would just do something like this to plumb your Stripe events through to your local webhook handler code:
stripe listen --forward-to localhost/stripe/webhook.php