CreamyMilk / DarajaSTK

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

Home Page:https://dfjasfkjsadfkljasfkjasdf.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://dfjasfkjsadfkljasfkjasdf.herokuapp.com/

License:MIT License


Languages

Language:JavaScript 54.6%Language:CSS 37.3%Language:HTML 8.1%