2 Star 3 Fork 1

千龙 / 喵付通PHP SDK

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

喵付通PHP SDK

介绍

喵付通聚合支付PHP SDK

安装教程

composer require ecmpay/ecmpay:dev-master

使用说明

  1. 引入SDK

use Ecmpay\Ecmpay\Ecmpay;

  1. 参数初始化

Ecmpay::init(['app_id'=>'商户应用ID','auth_app_id'=>'支付宝授权应用ID','appSecret'=>'商户应用密钥']);

  1. 调用支付实例

$payData['trade_no'] = '商户单号'; $payData['total_amount'] = '支付金额'; $payData['subject'] = '商品标题'; $result = Ecmpay::alipayForPc($payData,'支付宝跳转地址','支付结果异步通知地址');

其他

喵付通官网:http://ecmpay.cn

MIT License Copyright (c) 2022 千龙 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

喵付通聚合支付PHP SDK expand collapse
PHP
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
PHP
1
https://gitee.com/devqianlong/ecmpay-php-sdk.git
git@gitee.com:devqianlong/ecmpay-php-sdk.git
devqianlong
ecmpay-php-sdk
喵付通PHP SDK
master

Search