Skip to content

A simple implementation πŸ™‚πŸ™‚ of "Lipa na Mpesa Online using STK Push πŸ’Έ offered by the Safaricom Daraja Api

License

Notifications You must be signed in to change notification settings

CreamyMilk/DarajaSTK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

41 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DarajaSTK

A simple implementation of "Lipa na Mpesa Online using STK Push offerd by the Daraja api

NB : All callback info is logged

What is Mpesa Express ?

This is a service where you launch the user M-pesa menu directy from your application by calling the mpesa sim tool kit,and prefill with the amount to pay, the user just inserts the PIN and money automatically deducted from their Mpesa and sent to your Paybill. The merchant simply pushes the transaction details of a payment to customer's phone. After transaction initiation, the customer receives a push notification.Customer enters their M-Pesa pin and presses β€˜OK’. The transaction is now complete, and a real-time payment confirmation will be sent. The details are sent to the callback set and further processing such as subscription can be carried out. Accepted Number format is only 07.....

SCREENSHOT

Form ScreenShot

To install the dependencies and run

# You must configure environment variables in an (.env) file

$ cp .env.sample .env
# To install dependencies and to run the server

$ npm install 
$ npm start 

About

A simple implementation πŸ™‚πŸ™‚ of "Lipa na Mpesa Online using STK Push πŸ’Έ offered by the Safaricom Daraja Api

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published