Level 11
@gabotronix add this line to your web.php file
Route::stripeWebhooks('stripe-webhook');
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi everybody, I want to test stripe webhooks from stripe dashboard using ngrok, when I send a test webhook to my route I get error 404 response on dashboard.
In ngrok cmd tab I get this error:
HTTP Requests
------------- POST /api/stripe/webhooks 404 Not Found
In dashboard I added the following endpoint
http://daa0199bce35.ngrok.io/api/stripe/webhooks
which points to this route:
Route::post('/stripe/webhooks', 'Api\StripeController@webhooks');
In ngrok tab I get the following:
Session Status online Session Expires 6 hours, 50 minutes Version 2.3.35 Region United States (us) Web Interface http://127.0.0.1:4040 Forwarding http://daa0199bce35.ngrok.io -> http://localhost:80 Forwarding https://daa0199bce35.ngrok.io -> http://localhost:80 Connections ttl opn rt1 rt5 p50 p90 4 0 0.00 0.00 0.02 0.24
Please or to participate in this conversation.