Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ejdelmonico's avatar

Stripe Webhooks and Homestead VM

Does anyone have a few tips on how to properly setup a Stripe webhook to view invoices in Spark? I have setup an end hook as depicted in the docs but get a 503 error. I suppose the issue is the VM. So, any recommendations would be appreciated.

0 likes
1 reply
ejdelmonico's avatar
ejdelmonico
OP
Best Answer
Level 53

Looks like ngrok works but others do not. I added a new map such as myapp.ngrok.io mapped to same folder. Updated hosts file and ran ngrok http --host-header=rewrite -subdomain=myapp myapp.dev:80

Please or to participate in this conversation.