znframework/package-payment
最新稳定版本:8.21.0
Composer 安装命令:
composer require znframework/package-payment
包简介
ZN Framework Payment Gateway Package
README 文档
README
ZN Framework Payment Package
Follow the steps below for installation and use.
Installation
You only need to run the following code for the installation.
composer require znframework/package-payment
Documentation
Click for documentation of your library.
Example Usage
Basic level usage is shown below.
<?php require 'vendor/autoload.php'; ZN\ZN::run(); # Request $nestpay = Gateway::request('Nestpay'); $nestpay->clientId('123456') ->storeKey('19020000') ->cardType(1) # 1:visa 2:mastercard ->card('1234123412341234', 12, 18, '313') ->orderId(1) ->amount('10.00') ->returnUrl('Pay/response') ->send('test');
# Response $nestpay = Gateway::response('Nestpay'); if( $nestpay->isApproved() ) { echo 'İşlem başarılı.'; } else { echo $nestpay->error(); }
统计信息
- 总下载量: 7.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-05-18