An open API service indexing awesome lists of open source software.

https://github.com/scrnhq/cashier-multi


https://github.com/scrnhq/cashier-multi

laravel library php

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# Cashier-Multi
[![wercker status](https://app.wercker.com/status/02e3c2e66a2814743e3637b07a6994ef/s/master "wercker status")](https://app.wercker.com/project/byKey/02e3c2e66a2814743e3637b07a6994ef)
[![codecov](https://codecov.io/gh/scrnhq/cashier-multi/branch/master/graph/badge.svg)](https://codecov.io/gh/scrnhq/cashier-multi)

## Introduction

Laravel Cashier provides an expressive, fluent interface to [Stripe's](https://stripe.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 can handle coupons, swapping subscription, subscription "quantities", cancellation grace periods, and even generate invoice PDFs.

## Changes

### Features
- Supports multi-plan subscriptions.

## Running Cashier's Tests Locally

You will need to set the following details locally and on your Stripe account in order to run the Cashier unit tests:

### Environment

#### .env

STRIPE_KEY=
STRIPE_SECRET=
STRIPE_MODEL=ScrnHQ\Cashier\Tests\Fixtures\User

### Stripe

#### Plans

* monthly-10-1 ($10)
* monthly-10-2 ($10)

#### Coupons

* coupon-1 ($5)