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

Mahmoud_Abd_Al_Karim's avatar

Handle Failed Subscriptions On Laravel-Spark

I'm using Laravel-spark version 4.0.0 , I want to handle failed subscriptions on laravel- spark ,This is a feature provided by laravel - Cashier package as mentioned in the documentation :

Failed Subscriptions : What if a customer's credit card expires? No worries - Cashier includes a Webhook controller that can easily cancel the customer's subscription for you. As noted above, all you need to do is point a route to the controller:

Route::post( 'stripe/webhook', '\Laravel\Cashier\Http\Controllers\WebhookController@handleWebhook' ); https://laravel.com/docs/5.4/billing#handling-failed-subscriptions Now I want to handle this case on laravel spark , It seems that they didn't handle failed subscription on this version. any suggestions to start ?

0 likes
0 replies

Please or to participate in this conversation.