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

iamDiscovery's avatar

Webhooks issue

Latest version of Laravel and Spark for Stripe. Following the Spark docs, ive created the Webhooks in stripe as: /spark/webhook

customer.deleted customer.subscription.created customer.subscription.deleted customer.subscription.updated customer.updated invoice.payment_action_required invoice.payment_succeeded

and I've also done this: Stripe webhooks need to bypass Laravel's CSRF protection, be sure to list the URI as an exception in your application's App\Http\Middleware\VerifyCsrfToken middleware or list the route outside of the web middleware group:

protected $except = [
        'spark/webhook'

But I get a 405 on the url and fails on all of the events?

0 likes
0 replies

Please or to participate in this conversation.