GithubHelp home page GithubHelp logo

thesoftwarefanatics / mango-pay-bundle-public Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teknoosoftware/mango-pay-bundle

0.0 3.0 0.0 1.04 MB

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

License: MIT License

Makefile 0.49% PHP 99.51%

mango-pay-bundle-public's Introduction

Teknoo Software - Mango Pay bundle

SensioLabsInsight Build Status

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:
@mangopay.sdk.api_cards.service
@mangopay.sdk.api_card_registrations.service
@mangopay.sdk.api_card_pre_authorizations.service:
@mangopay.sdk.api_refunds.service

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

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

mango-pay-bundle-public's People

Contributors

alcaeus avatar frenchcomp avatar quef avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.