2017 © Pedro PelĂĄez
 

library mango-pay-client

image

polem/mango-pay-client

  • Saturday, September 14, 2013
  • by polem
  • Repository
  • 1 Watchers
  • 0 Stars
  • 76 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

MangoPay Client

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, (*1)

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;

The Versions

14/09 2013

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Paul-Émile MINY

30/08 2013

0.1-alpha

0.1.0.0-alpha

  Sources   Download

MIT

The Requires

 

by Paul-Émile MINY