Download the PHP package codelords/ssentezo-wallet without Composer
On this page you can find all versions of the php package codelords/ssentezo-wallet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codelords/ssentezo-wallet
More information about codelords/ssentezo-wallet
Files in codelords/ssentezo-wallet
Package ssentezo-wallet
Short Description A package to help integrate ssentezo wallet into your php application
License MIT
Homepage https://github.com/code-lords/ssentezo-wallet
Informations about the package ssentezo-wallet
ssentezo-wallet
A package to help integrate ssentezo wallet into your php application
Getting started
- Create a ssentezo wallet account
Installation
The recommended way to install ssentezo wallet is through Composer:
After ssentezo wallet installs, you can copy an example file to the project root.
Making tranasactions
To make transactions you only need to create an instance of the ssentezo wallet
With the wallet object you can easily check balance, make deposits withdrawals and as well check status of a transaction.
Configurations
Before we look at how you can make transactions, Let's first look at the configurations.
Here is a list of all the possible configurations and the various methods you can use to manipulate them.
Configuration | Description | Values | Setter | Getter |
---|---|---|---|---|
Environment | The enviroment you are using your wallet in | production, sandbox | setEnvironment($value) | getEnvironment() |
Currency | The currency | UGX, KES | setCurrency($value) | getCurrency() |
Callback | A valid url which ssentezo wallet calls incase the transaction completes | A valid url | setCallback($url) | getCallback() |