Category: laravel cashier

Laravel and Braintree: Middleware and Other Advanced Concepts

Previously, we saw how to configure a Laravel app to handle Braintree subscriptions. This time, we’ll talk about how to: Prevent users from signing up to the same plan twice Add basic flash messaging to our application Add the ability to swap plans Create middleware to protect some routes based on the subscrip...

Laravel and Braintree, Sitting in a Tree…

Subscriptions to services online are something extremely common – from subscribing to music streaming services to tutorial sites to access premium content. With Laravel 5, we saw the introduction of Laravel Cashier, an official Laravel package to help developers manage Stripe’s and Braintree’s subscr...