By Hanzalah Seikhai, Stripe developer. 3 December 2026

Laravel Cashier Stripe webhook not working: 6 things to check, in order

Cashier ships a webhook controller that keeps your subscriptions table in sync with Stripe. When it stops working, users pay and the app still shows them as free. These are the checks I run.

1. The endpoint URL in Stripe

Cashier registers /stripe/webhook. The endpoint in the Stripe Dashboard must point to that exact path on your live domain, over HTTPS. A trailing slash, an old domain or a staging URL is enough to break it. The delivery log on the endpoint shows the response code for every attempt.

2. CSRF returns 419

If the deliveries show 419, Laravel's CSRF protection is rejecting Stripe. Exclude stripe/* from CSRF in bootstrap/app.php on Laravel 11 and later, or in the VerifyCsrfToken middleware on older versions.

// bootstrap/app.php, Laravel 11+
->withMiddleware(function (Middleware $middleware) {
    $middleware->validateCsrfTokens(except: ['stripe/*']);
})

3. The signing secret

Set STRIPE_WEBHOOK_SECRET to the secret of that endpoint, starting with whsec_. Live and test endpoints have different secrets. After changing .env in production, run php artisan config:clear or rebuild the config cache, or the old value stays in use.

4. The events enabled on the endpoint

Cashier needs at least customer.subscription.created, customer.subscription.updated, customer.subscription.deleted, customer.updated, customer.deleted, payment_method.automatic_updated, invoice.payment_action_required and invoice.payment_succeeded. The php artisan cashier:webhook command creates an endpoint with the right list.

5. The queue worker

If you listen to Cashier's WebhookReceived or WebhookHandled events with queued listeners, Stripe will show 200 while nothing happens in your app if the worker is down. Check the worker is running under Supervisor or Horizon and look at failed_jobs.

6. The customer is not linked

Cashier finds the user by stripe_id. If the subscription was created in the Dashboard, or for a different Stripe customer than the one saved on the user, the webhook arrives and Cashier has no user to update. Compare the customer id in the event with the stripe_id column.

Replay after the fix

Once the endpoint returns 200, resend the failed events from the Dashboard or with the Stripe CLI, so the subscriptions that were missed get updated.


If you want this fixed or built in your app, see Stripe subscriptions in Laravel, hire me on Upwork, or get in touch.

Written by Hanzalah Seikhai, Stripe developer. Hire me on Upwork.

More notes