Download the PHP package xente/xentepayment-php-sdk without Composer
On this page you can find all versions of the php package xente/xentepayment-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xente/xentepayment-php-sdk
More information about xente/xentepayment-php-sdk
Files in xente/xentepayment-php-sdk
Package xentepayment-php-sdk
Short Description Official Xente Payment API wrapper for PHP
License MIT
Informations about the package xentepayment-php-sdk
Xente Payment SDK for PHP
Installation
You can install via Composer, run the following command:
Usage
To write an application using the SDK
-
Register for a developer account and get your apikey at Xente Developer Portal.
-
After installing, you need to require Composer's autoloader
-
Bring in XentePayment class from the XentePaymentSDK namespace
-
Create authentication credential, with parameters (apikey, password and mode).
-
Create the authentication credential parameters
-
Initialized XentePayment class with authentication credential above
-
Create transaction request associative array, metadata is optional parameter, customerReference is the phone number which transaction is initiated on
-
Create a transaction with the above transaction request
-
Get Transaction Details with a specific Transaction ID
-
Get Transaction Details using request ID
-
Get Account Details by the Account ID
- List all Payment providers
Contributions
- If you would like to contribute, please fork the repo and send in a pull request.
Refactory Team Xentes
- Olive Nakiyemba
- Kintu Declan Trevor
- Oketayot Julius Peter