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

cklester's avatar

Cashier Handling Webhooks?

Is Cashier supposed to handle Stripe webhooks out of the box? Do I need to add some customization? The webhook testing at Stripe is getting a 500 from my site, and it's complaining there is no "WebhooksController," but there is. I see it. :D

I'll step back through the Cashier docs, but if anybody has a clue... Thank you!

0 likes
1 reply
cklester's avatar
cklester
OP
Best Answer
Level 3

Oops. Found the issue... In my routes file (web.php), I had this for the controller:

Route::post('/stripe/webhook', 'WebhooksController@handleWebhook');

but needed this

Route::post('/stripe/webhook', '\Laravel\Cashier\Http\Controllers\WebhookController@handleWebhook');

Now all is well.

Please or to participate in this conversation.