Download the PHP package batons0/yopaymentsphp without Composer
On this page you can find all versions of the php package batons0/yopaymentsphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download batons0/yopaymentsphp
More information about batons0/yopaymentsphp
Files in batons0/yopaymentsphp
Package yopaymentsphp
Short Description A PHP Library to interact with the Yo! Payments API.
License MIT
Informations about the package yopaymentsphp
Yo! Payments API PHP Library
Yo! Payments is a revolutionary mobile payments gateway service. Yo! Payments enables businesses to receive payments from their customers via mobile money, as well as make mobile money payments to any mobile money account holder. Yo! Payments also has the capability to send mobile calling credit (“airtime”) directly to users.
Yo! Payments API PHP Library is a PHP library that can be included in your PHP project to enable seamless integration with websites and web systems.
Getting Started
Prerequisites
To use the API, you must, first of all, have a Yo! Payments Business Account. The API is not available for Personal Accounts
- Yo! Payments API Username
- Yo! Payments API Password
Installing
Yo! Payments API PHP Library is available via Composer/Packagist (using semantic versioning), so just add this line to your file
or
Then inside your PHP script, add the line
And voila! The Yo! Payments PHP API is now available for use.
Alternatively, copy the contents of the YoPaymentsPHP folder into one of the directories specified in your PHP configuration.
If you don't use git, click the 'zip' button at the top of the page in GitHub.
Minimal Installation
While installing the entire package manually or with composer is simple, convenient and reliable, you may want to include only vital files in your project. At the very least you'll need Yo_Uganda_Public_Certificate.crt.
You can then load the library by just and everything should work.
A Simple Example
Start the Mobile Money User to Prompt for PIN to transfer funds
Receive payment notification when payment completed.
Receive notification when payment has failed.
You'll find plenty more to play with in the examples folder.
That's it! You should now be ready to use YoAPI
Built With
- PHP - PHP Programming Language
Authors
- Aziz Kirumira - Initial work - Yo (U) Ltd
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Gerald Begumisa
- Grace Kyeyune
- Joseph Tabajjwa