Code Monkey home page Code Monkey logo

cashier-braintree's Introduction

Laravel Cashier - Braintree Edition (Beta)

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Introduction

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.

Test Setup

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.

Local

.env

BRAINTREE_MERCHANT_ID=
BRAINTREE_PUBLIC_KEY=
BRAINTREE_PRIVATE_KEY=

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 can be found on the Laravel website.

License

Laravel Cashier is open-sourced software licensed under the MIT license

cashier-braintree's People

Contributors

adrianb93 avatar agentzzk avatar besologic avatar bonzai avatar djbanks avatar iwader avatar kostaspt avatar mattstauffer avatar rigor789 avatar samuelsan avatar taylorotwell avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

anonymouse71

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.