ntholenaar/multisafepay-client
最新稳定版本:0.2.3
Composer 安装命令:
composer require ntholenaar/multisafepay-client
包简介
MultiSafepay payment processing library
关键字:
README 文档
README
Please see the official multisafepay client(https://github.com/MultiSafepay/php-sdk)
MultiSafepay API Client
API Client for the MultiSafepay API.
For more information about the MultiSafepay API see: https://www.multisafepay.com/documentation/doc/API-Reference/
Requirements
The following versions of PHP are supported.
- PHP 5.6
- PHP 7.0
- HTTPlug compatible HTTP Library. (See: http://docs.php-http.org/en/latest/httplug/users.html)
Installation
You can use composer require to add the client to your composer.json file.
$ composer require ntholenaar/multisafepay-client
Usage
Client setup.
$client = new Client(); $client->setApiKey('API-KEY');
Get all gateways
$response = $client->environment('test')->api('gateways')->all(); var_dump($response);
Get issuers for an particular gateway.
$response = $client->environment('test')->api('issuers')->all('IDEAL'); var_dump($response);
Get details about an particular order.
$response = $client->environment('test')->api('orders')->show('ORDER-ID'); var_dump($response);
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 7.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-24