Cashier 8.0 Webhook Improvements

Taylor Otwell
Oct 29, 2018 · 1 min read

Last week we tagged version 8.0.0 of Laravel Cashier. This release should not contain any breaking changes from the 7.0 series of Cashier; however, thanks to a community contribution, the release does add automatic support for more Stripe webhooks.

The following webhooks are now automatically handled by Cashier unless you override the corresponding webhook controller methods:


If the default card on the customer is changed in the Stripe dashboard, the customer information stored in your application’s database will automatically be updated.


If the plan, quantity, or trial ending date is updated on the Stripe dashboard, this information will automatically be updated in your application’s database.


If the customer’s payment source is deleted in the Stripe dashboard, the source information will be set to NULL in your application’s database.


If the customer is deleted from the Stripe dashboard, their subscriptions will be cancelled and their Stripe information will be removed from your database.

These changes augment Cashier’s automatic webhook handling with some great new features that make it even easier to build subscription billing systems with Laravel+ Stripe.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store