# cashier-braintree **Repository Path**: mirrors_laravel/cashier-braintree ## Basic Information - **Project Name**: cashier-braintree - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: 3.0 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Laravel Cashier - Braintree Edition [![Build Status](https://travis-ci.org/laravel/cashier-braintree.svg)](https://travis-ci.org/laravel/cashier-braintree) [![Total Downloads](https://poser.pugx.org/laravel/cashier-braintree/d/total.svg)](https://packagist.org/packages/laravel/cashier-braintree) [![Latest Stable Version](https://poser.pugx.org/laravel/cashier-braintree/v/stable.svg)](https://packagist.org/packages/laravel/cashier-braintree) [![Latest Unstable Version](https://poser.pugx.org/laravel/cashier-braintree/v/unstable.svg)](https://packagist.org/packages/laravel/cashier-braintree) [![License](https://poser.pugx.org/laravel/cashier-braintree/license.svg)](https://packagist.org/packages/laravel/cashier-braintree) ## Introduction > Unfortunately, we've decided to abandon maintenance for the laravel/cashier-braintree library. We recommend using the braintree/braintree_php library directly from now on. You're free to fork and maintain your own version if you like. Laravel Cashier Braintree provides an expressive, fluent interface to [Braintree's](https://www.braintreepayments.com/) subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing. In addition to basic subscription management, Cashier Braintree can handle coupons, swapping subscription, cancellation grace periods, and even generate invoice PDFs. ## Testing You will need to set the following details locally and on your Braintree account in order to run the library's tests. ### Local #### Environment Variables BRAINTREE_MERCHANT_ID= BRAINTREE_PUBLIC_KEY= BRAINTREE_PRIVATE_KEY= BRAINTREE_MODEL=Laravel\Cashier\Tests\User You can set these variables in the `phpunit.xml.dist` file. ### Braintree #### Plans * Plan ID: monthly-10-1, Price: $10, Billing cycle of every month * Plan ID: monthly-10-2, Price: $10, Billing cycle of every month * Plan ID: yearly-100-1, Price: $100, Billing cycle of every 12 months #### Discount * Discount ID: coupon-1, Price: $5 * Discount ID: plan-credit, Price $1 ## Official Documentation Documentation for Cashier Braintree can be found on the [Laravel website](https://laravel.com/docs/5.8/braintree). ## License Laravel Cashier Braintree is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).