tmob/kesspay 问题修复 & 功能扩展

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

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

tmob/kesspay

最新稳定版本:v0.1

Composer 安装命令:

composer require tmob/kesspay

包简介

Unofficial Kess library

README 文档

README

This documentation aims to provide all the information you need to work with Kess library.

Installation

 composer install tmob/kesspay

Usage

 $kess = new \tmob\Kess();

Create new instance of Kess

$kess = new Kess([
    "api_url" => "{api_url}",
    "username" => "{username}",
    "password" => "{password}",
    "client_id" => "{client_id}",
    "client_secret" => "{client_secret}",
    "seller_code" => "{seller_code}",
    "api_secret_key" => "{api_secret_key}",
]);

Usage/Examples

Generate payment link

$link = $kess=>generatePaymentLink([
        "body": "Delishop",
        "currency": "USD",
        "out_trade_no": "TR-20230310104700",
        "total_amount": 10,
        "invoke_reuse": 1
    ])

List all payment method

$allPaymentMethod = $kess=>listAllPaymentMethod()

Query Order

$queryOrder = $kess=>queryOrder([
	"out_trade_no": "TR-20230310104700"
])

Close Order

$queryOrder = $kess=>closeOrder([
	"out_trade_no": "TR-20230310104700"
])

Kess Documentation

Documentation

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-03-27