polem/mango-pay-client
Composer 安装命令:
composer require polem/mango-pay-client
包简介
README 文档
README
Introduction
MangoPay is the global and leading API solution to accept online payments and manage e-money for marketplaces, crowdfunding and collaborative ... This non-official client is based on Guzzle
Installation
php composer.phar require polem/mango-pay-client
Usage
require_once __DIR__ . '/vendor/autoload.php'; use MangoPay\Client; $client = Client::factory(array( 'partner_id' => 'parterId', 'url' => 'http://api-preprod.leetchi.com', 'version' => 'v1', 'private_key_path' => 'file://'. __DIR__ . '/pkey.pem', 'private_key_pass_phrase' => '', )); $user = array( 'FirstName' => 'Doe', 'LastName' => 'John', 'Email' => 'johndoe@gmail.com', 'Nationality' => 'FR', 'Birthday' => 1300186358, 'PersonType' => 'NATURAL_PERSON' ); $user = $client->CreateAUser($user); echo $user;
统计信息
- 总下载量: 76
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-08-30