Download the PHP package chandachewe/airtelmomoapi without Composer
On this page you can find all versions of the php package chandachewe/airtelmomoapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chandachewe/airtelmomoapi
More information about chandachewe/airtelmomoapi
Files in chandachewe/airtelmomoapi
Package airtelmomoapi
Short Description Airtel MoMo API For collections and disbursements
License MIT
Informations about the package airtelmomoapi
AIRTEL MOMO API FOR COLLECTING PAYMENTS FROM CUSTOMERS - PHP
AIRTEL Money Developer API using PHP For Pushing Payments From a Customer.
Documentation and official resources can be found at AIRTEL Developer Portal: https://developers.airtel.africa/login
Please note that Airtel does not provide free MoMo API Testing like MTN does. Hence for you
To get started you should complete the following in full.
Prerequisites
-
You have Signed Up at: https://developers.airtel.africa/login
-
You have created an application there and your application has been approved.
- You possess the
client_id
and theclient_secret
. Please note that When you register for an application on the developer portal you will only be given theclient_id
, you will not be given theclient_secret
, the client_secret will only be given to you when you submit your business formalities to their offices. That is when they will approve the application you created online and give you theclient_secret
. You cant perform any transactions or whatsoever without one of these credentials.
Getting Started
This PHP Package is for creating the bearer token which you can import in your application
- Install Composer in your machine (well atleast if you have not installed) and download this package.
- On your CLI type
composer require chandachewe/airtelmomoapi
to install the package. -
Navigate to
client_id
and put yourclient_id
there. -
Navigate to
client_secret
and put yourclient_secret
there. -
open the
push_payments.php
and fill in on missing variables indicated with*******************
-
You can now open your localhost (using xampp/wampp) and run the
push_payments.php
file using localhost in your browser. - This repository is not affliated with AIRTEL.