luxplus/mobilepay
Composer 安装命令:
composer require luxplus/mobilepay
包简介
Luxplus implementation of MobilePay API Subscription 2.0.0.
README 文档
README
-
7th July
- Initial Luxplus implementation of MobilePay Subscription API 1.1.1.
-
10th August:
- Implementation of MobilePay Subscription API 1.2.6 - Refunds. 2 new methods: getRefunds() and postRefunds().
-
11th August:
- Fixed bug in path from /recurringpayments-restapi/api/ to /subscriptions/api/ for Refunds.
-
14th August:
- Fixed bug in the CreateRefundRequest toJSON() method.
- Implemented links-parameter in CreateOnOffPaymentRequest.
-
23rd August:
- Changed path from /recurringpayments-restapi/api/ to /subscriptions/api/ across the board.
-
18th September:
- Updated MobilePay Subscription API to use 2.0.0
- Implemented postPaymentRequestsBatch() method, which takes an array of CreatePaymentRequest instances.
- Changed the postPaymentRequests() method to accept an instance of CreatePaymentRequest OR an array of CreatePaymentRequest (it calls postPaymentRequestsBatch() regardless).
- Removed the abstract method toJSON() in the abstract class Request and replaced it with the JsonSerializable interface. The jsonSerialize() method returns an array instead of a json encoded string.
- Added the following exception classes:
- MobilePayException extends Exception
- PreconditionFailedException extends MobilePayException
- NotFoundException extends MobilePayException
- InternalServerErrorException extends MobilePayException
- IdNotProvidedException extends MobilePayException
- BadRequestException extends MobilePayException
- CurlException Extends Exception
- Rewrote the error handling code with proper exceptions and error messages in the MobilePayConnection class connect() method and a few other places.
- Added ErrorResponse class to better handle the HTTP code response errors.
- Added possibility to supply correlation id with a call.
- Added a createGUID() method in MobilePaySubscriptionClient to use for the correlation id.
-
27th December:
- Fixed bug in MobilePayConnection post()-method introduced in the update from the 18th September. Introduced by postPaymentRequestsBatch.
-
23rd April 2018
- Fixed issue in ErrorResponse and added a getFullResponse() method for logging purposes.
-
28th April 2018
- Fixed HttpResponseException bug.
-
29th May 2018
- The createSimpleInstance-method now instantiates with expirationTimeoutMinutes of 2 weeks instead of 5 minutes.
- Removed unused dependencies.
luxplus/mobilepay 适用场景与选型建议
luxplus/mobilepay 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 53.76k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 07 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 luxplus/mobilepay 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 luxplus/mobilepay 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 53.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-07-10