2 months ago

404 Error when testing stripe webhooks with ngrok

Posted 2 months ago by Gabotronix

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

which points to this route:

Route::post('/stripe/webhooks', 'Api\[email protected]');

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                                                                            Forwarding           -> http://localhost:80                                       Forwarding           -> http://localhost:80                                                                                                                                                              Connections                   ttl     opn     rt1     rt5     p50     p90                                                                             4       0       0.00    0.00    0.02    0.24  

Please sign in or create an account to participate in this conversation.