Download the PHP package teknoo/mango-pay-bundle without Composer

On this page you can find all versions of the php package teknoo/mango-pay-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mango-pay-bundle

Teknoo Software - Mango Pay bundle

Warning, Unmaintened and archived bundle. If your are interested by a updated version, please contact us at [email protected]

Bundle to import the MangoPay official PHP client into Symfony 2.7+ and use it into your Symfony project

Usages

All API Endpoint client are available as services, they follow the official documentation :

@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

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 :

@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

composer require teknoo/mango-pay-bundle

And add to your AppKernel :

new Teknoo\MangoPayBundle\TeknooMangoPayBundle(),

Set parameters

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 :

* 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.

Credits

Richard Déloge - [email protected] - Lead developer. Teknoo Software - http://teknoo.software

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.

License

Mango Pay Bundle is licensed under the MIT Licenses - see the licenses folder for details

Contribute :)

You are welcome to contribute to this project. Fork it on Github


All versions of mango-pay-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
mangopay/php-sdk-v2 Version ~2.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package teknoo/mango-pay-bundle contains the following files

Loading the files please wait ....