承接 gazmendsahiti/ccpointe 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

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

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固