Code Monkey home page Code Monkey logo

payum-paybox's Introduction

Paybox extension for payum

This plugin is a payum extension to provide payment gateways for paybox payment system. The plugin has been generated thanks to the payum composer Skeleton.

For now, only Paybox system is supported. There is no gateway for paybox direct.

How paybox system works

Integration

Test client

The client directory contains sample scripts to illustrate how the plugin should work. Use a php server to serve prepare.php and it will guide you through a sample payment.

The client directory contains 4 scripts :

  • config.php
  • prepare.php
  • capture.php
  • done.php

config

Here you can provide you customer details provided by paybox :

  • site
  • rang
  • identifiant
  • hmac

Please refer to paybox documentation to know more about these params. You can also configure sandbox option : if true, payment will be done in test environment.

prepare

This script contains the payment details : order number, currency, amount, ... Please refer to paybox documentation to know more about these details and the values you can set.

capture

This script launch the payment capture. With paybox system, capture is done on paybox website. So the capture action redirect the customer on paybox website where he has to provide his payment details (card number, ...). After payment details are submitted on paybox site, capture is done and user is redirected on done.php

done

This scripts acts as a payment confirmation. In this sample we just print payment details in json format.

Integrate in your project

TODO

Documentation

Resources

License

Payum-paybox is released under the MIT License.

payum-paybox's People

Contributors

remyma avatar

Watchers

James Cloos avatar

Forkers

le-phare

payum-paybox's Issues

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.