2017 © Pedro PelĂĄez
 

symfony-bundle mango-pay-bundle

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

image

teknoo/mango-pay-bundle

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

  • Sunday, June 17, 2018
  • by frenchcomp
  • Repository
  • 5 Watchers
  • 1 Stars
  • 11,590 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 15 Versions
  • 35 % Grown

The README.md

Teknoo Software - Mango Pay bundle

Warning, Unmaintened and archived bundle. If your are interested by a updated version, please contact us at contact@teknoo.software, (*1)

Bundle to import the MangoPay official PHP client into Symfony 2.7+ and use it into your Symfony project, (*2)

Usages

All API Endpoint client are available as services, they follow the official documentation :, (*3)

@mangopay.sdk.api_user.service
@mangopay.sdk.api_wallet.service
@mangopay.sdk.api_pay_ins.service
@mangopay.sdk.api_pay_outs.service
@mangopay.sdk.api_transfert.service (deprecated in 1.1, replaced by @mangopay.sdk.api_transfers.service)
@mangopay.sdk.api_transfers.service
@mangopay.sdk.api_cards.service
@mangopay.sdk.api_card_registrations.service
@mangopay.sdk.api_card_pre_authorizations.service
@mangopay.sdk.api_refunds.service
@mangopay.sdk.api_banking_aliases
@mangopay.sdk.api_hooks
@mangopay.sdk.api_responses
@mangopay.sdk.api_kyc_documents
@mangopay.sdk.api_clients
@mangopay.sdk.api_events
@mangopay.sdk.api_disputes
@mangopay.sdk.api_dispute_documents
@mangopay.sdk.api_mandates
@mangopay.sdk.api_reports

The bundle manage the connection and the authentication on Mango's servers, it needs only the definition of these parmeters, (*4)

mangopay.client_id: "Provided by MangoPay"
mangopay.client_passphrase: "Provided by MangoPay"
mangopay.base_url: "https://api.mangopay.com/"
mangopay.debug_mode: true/false

The bundle provides also several services to perform some complexe operations on MangoPay :, (*5)

@teknoo.mangopaybundle.service.card_registration to register a card, via an embedded form in your application, 
managing 3D Secure and result of Mango Pay API via token exchange

@teknoo.mangopaybundle.service.user to register an user in your MangoPay account to create a wallet for it for 
purchase, refund or bank transfert

@teknoo.mangopaybundle.service.secure_flow to perform a payment via MangoPay between two users and with optional
fees for your services and MangoPay.

Installation & Requirements

To install this bundle, (*6)

composer require teknoo/mango-pay-bundle

And add to your AppKernel :, (*7)

new Teknoo\MangoPayBundle\TeknooMangoPayBundle(),

Set parameters, (*8)

mangopay.client_id: "Provided by MangoPay"
mangopay.client_passphrase: "Provided by MangoPay"
mangopay.base_url: "https://api.mangopay.com/"
mangopay.debug_mode: true/false

This library requires :, (*9)

* PHP 5.5+
* Composer
* Symfony 2.7+
* Mango Pay API

Testing

To make the bundle testable without connecting to the official API simply create a service named mangopay.sdk.http_client. This client must implement MangoPay\Libraries\HttpBase., (*10)

Credits

Richard DĂ©loge - richarddeloge@gmail.com - Lead developer. Teknoo Software - http://teknoo.software, (*11)

About Teknoo Software

Teknoo Software is a PHP software editor, founded by Richard DĂ©loge. Teknoo Software's DNA is simple : Provide to our partners and to the community a set of high quality services or software, sharing knowledge and skills., (*12)

License

Mango Pay Bundle is licensed under the MIT Licenses - see the licenses folder for details, (*13)

Contribute :)

You are welcome to contribute to this project. Fork it on Github, (*14)

The Versions

28/01 2017

1.0.4

1.0.4.0 http://teknoo.software/mango-pay

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle mango mango pay

04/08 2016

1.0.3

1.0.3.0 http://teknoo.software/mango-pay

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle mango mango pay

29/07 2016

1.0.2

1.0.2.0 http://teknoo.software/mango-pay

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle mango mango pay

09/04 2016

1.0.1

1.0.1.0 http://teknoo.software/mango-pay

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle mango mango pay

11/02 2016

1.0.0

1.0.0.0 http://teknoo.software/mango-pay

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle mango mango pay

02/02 2016

1.0.0-rc2

1.0.0.0-RC2 http://teknoo.software/mango-pay

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle mango mango pay

26/10 2015

1.0.0-beta2

1.0.0.0-beta2 http://teknoo.it/mango-pay

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle mango mango pay

14/09 2015

1.0.0-beta1

1.0.0.0-beta1 http://teknoo.it/mango-pay

Bundle to import and use the Mango Pay PHP SDK into a Symfony 2.7+ projects, and use it as standard Symfony services.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Richard DĂ©loge

bundle mango mango pay