Handle Failed Subscriptions On Laravel-Spark -




i'm using laravel-spark version 4.0.0 , want handle failed subscriptions on laravel- spark ,this feature provided laravel - cashier package mentioned in documentation :

failed subscriptions :
what if customer's credit card expires? no worries - cashier includes webhook controller can cancel customer's subscription you. noted above, need point route controller:

route::post(     'stripe/webhook',     '\laravel\cashier\http\controllers\webhookcontroller@handlewebhook' ); 

https://laravel.com/docs/5.4/billing#handling-failed-subscriptions
want handle case on laravel spark , seems didn't handle failed subscription on version. suggestions start ?





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -