m1ke/nmi
Composer 安装命令:
composer require m1ke/nmi
包简介
An API implementation for the NMI (Network Merchants International) payment gateway
README 文档
README
An implementation of the NMI (Network Merchants International) payment gateway
3-Step
Currently the only implementation. See example.php for information on how to use, essentially two main methods are exposed:
// creates an object, provide API key and optional redirect URL
$nmi=new Nmi3Step(NMI_KEY);
// returns a submission url as step 1, send a numeric amount to charge
$url=$nmi->get_url($amount);
// Sends the payment with a provided token. Returns a payment result or throws an exception
$payment=$nmi->submit_payment($_GET['token-id']);
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-05