Download the PHP package mathermann/dohone-sdk without Composer
On this page you can find all versions of the php package mathermann/dohone-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mathermann/dohone-sdk
More information about mathermann/dohone-sdk
Files in mathermann/dohone-sdk
Package dohone-sdk
Short Description A PHP 5.4+ SDK for easily use Dohone payment API
License MIT
Homepage https://github.com/mathermann/dohone-sdk
Informations about the package dohone-sdk
DohoneSDK
A PHP 5.4+ SDK for easily use Dohone payment API.
Note
This PHP package let you easily integrate Dohone payment API to your application or your web site for every Cameroon mobile payments operators (MTN Mobile Money, Orange Money and Express Union Mobile Money).
Before you start using this package, it's highly recommended to read documents below.
- TUTORIAL D’INSTALLATION DE L’API DE PAIEMENT EN LIGNE POUR APPLICATIONS MOBILES
- TUTORIAL D’INSTALLATION DE L’API DE PAIEMENT EN LIGNE
- TUTORIAL D’INSTALLATION DE L’API DE TRANSFERTS AUTOMATIQUES (PAYOUT)
Table of contents
- 1. Requirements
- 2. Installation
- 2.1. Install Composer package
- 2.2. Implement TransactionInterface
- 3. Payin requests (collect payments)
- 3.1. Create a DohoneSDK object
- 3.2. Make a « COTATION » command
- 3.3. Make a « START » command
- 3.4. Make a « CFRMSMS » command
- 3.5. Make a « VERIFY » command
- 3.6. Handle Dohone's notifications
- 4. Payout requests (refund customer or withdraw money)
- 4.1. Create a DohonePayoutSDK object
- 4.2. Make a « COTATION » command
- 4.3. Make a transfer
- 4.4. Handle Dohone's payout notifications
1. Requirements
This package requires:
2. Installation
2.1. Install Composer package
First of all, install the Composer package from your CMD or your Terminal.
2.2. Implement TransactionInterface
Then you need a class that implements TransactionInterface interface.
For example:
3. Payin requests (collect payments)
3.1. Create a DohoneSDK object
You can find DohoneSDK class here.
3.2. Make a « COTATION » command
3.3. Make a « START » command
3.4. Make a « CRFMSMS » command
3.5. Make a « VERIFY » command
3.6. Handle Dohone's notifications
4. Payout requests (refund customer or withdraw money)
4.1. Create a DohonePayoutSDK object
You can find DohonePayoutSDK class here.
4.2. Make a « COTATION » command
4.3. Make a transfer
4.4. Handle Dohone's payout notifications
Credits
- mathermann