marem / payum-paybox
Paybox extension for Payum
Installs: 2 469
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 6
Open Issues: 0
Type:project
Requires
- payum/core: ^1.3
Requires (Dev)
- payum/core: ^1.3@dev
- php-http/guzzle6-adapter: ^1.0
This package is not auto-updated.
Last update: 2024-11-04 13:40:03 UTC
README
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.
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
- Payum Documentation
- [Paybox Documentation] (http://www1.paybox.com/)
License
Payum-paybox is released under the MIT License.