Laravel Cashier provides an expressive, fluent interface to Stripe'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, subscription "quantities", cancellation grace periods, and even generate invoice PDFs.
- Supports multi-plan subscriptions.
You will need to set the following details locally and on your Stripe account in order to run the Cashier unit tests:
STRIPE_KEY=
STRIPE_SECRET=
STRIPE_MODEL=ScrnHQ\Cashier\Tests\Fixtures\User
* monthly-10-1 ($10)
* monthly-10-2 ($10)
* coupon-1 ($5)