kiezelpay/client
Composer 安装命令:
composer require kiezelpay/client
包简介
API Client for the KiezelPay Pebble app payment system.
README 文档
README
The official API Client for the KiezelPay Pebble app payment system. Currently supports checking the payment status of a user, and providing the payment code, trial expiry, and licensed status.
Install
Via Composer
$ composer require kiezelpay/client
Usage
// Initiate App client $app = new KiezelPay\Client\App($appId); // Check payment status for specified user and device $status = $app->status($accountToken, $deviceId); // User is licensed if ($status->isLicensed()) { // ... } // Payment code available if ($status->isUnlicensed()) { // ... } // User is in trial period if ($status->isTrial()) { // ... }
Contributing
Contributions are welcome, and we accept contributions via Pull Requests.
Please follow the PSR-2 Coding Standard, write tests for any new or changed code, and document any changes.
License
The MIT License (MIT). Please see LICENSE.md for more information.
Security
If you discover any security related issues, please email stephen@rees-carter.net instead of using the issue tracker.
Change log
2016-04-19 - v1.0.1
Fixes
- Bugfix: Guzzle v6 doesn't support
->json().
2016-04-19 - v1.0.0 - Initial Release
Added
- Payment Status API check.
统计信息
- 总下载量: 1.11k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-18