laravel/cashier-braintree 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

laravel/cashier-braintree

最新稳定版本:v3.1.2

Composer 安装命令:

composer require laravel/cashier-braintree

包简介

Laravel Cashier provides an expressive, fluent interface to Braintree's subscription billing services.

README 文档

README

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

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 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.

License

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

统计信息

  • 总下载量: 388.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 167
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 165
  • Watchers: 15
  • Forks: 134
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-03-08