and I have added a webhook URL within my stripe.com account settings.
When I run a test webhook within stripe.com it always returns a 503 error. As it obviously cant find the URL defined ( as being used locally - my-domain-name.dev ) .
Do i have to upload the dev site to a live server to test the webhooks or is there an easier way?
@KMountford Thanks. I have actually implemented a similar solution myself using port forwarding. It turns out that using my ip in combination with the port forwarding on my router was enough to get it to work. I just use ip in place of my-domain-name.dev on stripe.com or as I have set up a subdomain on my hosting account for one of my domain names I am using that to reroute to my ip and is much easier to remember :)
Maybe you'll find this package interesting. It simulates a post request with event data to a desired url, no matter
if its local or not. It's meant to be used in unit tests for testing your webhook endpoints