gazmendsahiti/ccpointe
Composer 安装命令:
composer require gazmendsahiti/ccpointe
包简介
CcPointe is a lightweight package/library to interact with CardConnect's API CardPointe in a simple/fluent way.
README 文档
README
CcPointe is a lightweight package/library to interact with CardConnect's API (CardPointe) in a simple/fluent way.
Installation via composer
Requires PHP >= 8.1 to run
composer require gazmendsahiti/ccpointe
List of available methods
To get started as fast as possible, please check CardPointe's docs, you may see merchid is required in all instances I have already taken care of that you don't need to pass that parameter. Note: Profile's endpoint is used to create profile, get profile, update profile and delete profile.
_________________________________________ | ENDPOINT | METHOD | |___________________|___________________| | inquireMerchant | inquireMerchant | | auth | authorization | | capture | capture | | void | void | | refund | refund | | inquire | inquire | | inquireByOrderId | inquireByOrderId | | voidByOrderId | voidByOrderId | | settlestat | settlementStatus | | funding | funding | | profile | createProfile | | profile | getProfile | | profile | updateProfile | | profile | deleteProfile | | sigcap | signatureCapture | | bin | bin | |_______________________________________|
Code Examples
To use CcPointe first include it in your class/file using
use gazmendsahiti\CcPointe\CardPointe;
$cardPointe = new CardPointe($serviceUrl, $username, $password, $merchId); $response = $cardPointe->authorization([ 'amount' => 255, // other parameters... ]); // You can transform response to object or array $objectResponse = $response->toObject(); $arrayResponse = $response->toArray() // raw response from api $raw = $response->rawResponse();
License
MIT
gazmendsahiti/ccpointe 适用场景与选型建议
gazmendsahiti/ccpointe 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.05k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 07 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 gazmendsahiti/ccpointe 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 gazmendsahiti/ccpointe 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-23