Package Data | |
---|---|
Maintainer Username: | waxi2015 |
Maintainer Contact: | waxi2016@gmail.com (Wa Xi) |
Package Create Date: | 2016-12-19 |
Package Last Update: | 2017-03-27 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:13:08 |
Package Statistics | |
---|---|
Total Downloads: | 11 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Laravel Cashier provides an expressive, fluent interface to Braintree's subscription billing services. It handles almost all of the boilerplate subscription billing code you are dreading writing. In addition to basic subscription management, Cashier can handle coupons, swapping subscription, cancellation grace periods, and even generate invoice PDFs.
You will need to set the following details locally and on your Braintree account in order to test. It's recommended that you sign-up for a Braintree sandbox account.
BRAINTREE_MERCHANT_ID=
BRAINTREE_PUBLIC_KEY=
BRAINTREE_PRIVATE_KEY=
BRAINTREE_MODEL=User
* 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 ID: coupon-1, Price: $5
* Discount ID: plan-credit, Price $1
Documentation for Cashier can be found on the Laravel website.
Laravel Cashier is open-sourced software licensed under the MIT license