Giter VIP home page Giter VIP logo

mpesa-tap-and-pay's Introduction

NPay

NFC Payments via MPESA Mobile money. Tap, enter pin and you are done. This project was conceptualized before MPESA 1 tap came to the market. This project and MPESA 1 Tap are similar but with minor differences especially on the hardware used. See a demo on youtube

Drivers and Operating System Requirements

To use the solution provided here one needs to do some set up first. Here are the of the items required before the solution can be executed.

  • Personal computer running Windows operating system (Windows 10 Recommended , see full details in table below)

  • Windows 10 Pro (At least this is tested)

  • Version 1607

  • OS Build 14393.1198

  • Microsoft .NET Framework Version 4.6.01586

Install the following drivers on your PC(Choose 64/32 bit drivers). You can find them [here] (http://www.acs.com.hk/en/products/342/acr1252u-usb-nfc-reader-iii-nfc-forum-certified-reader/#tab_downloads)

  • MSI Installer for PC/SC Driver (64-bit) or MSI Installer for PC/SC Driver (32-bit)
  • PC/SC Drivers

Software Tools Used

Microsoft Visual Studio Ultimate 2013 - Update 4 GoToTags Reader Software NFC Tools (Android)

Hardware Tools Used

  1. ACR1252U USB NFC Reader III (NFC Forum Certified Reader)
    Interface : USB 2.0 Full Speed
    Operating distance - up to 50 mm (depends on the tag type)
    Smart Card Interface Support
    ISO 14443 Type A and B , MIFARE
    FeliCa 4 types of NFC (ISO/IEC 18092) tags

  2. NFC Enabled Android/Windows Phone

  3. NTAG213 NFC tags (Mifare Classic , SMARTRAC BullsEye)

Environment Setup

Preparing NTAG213 NFC tags

Data needs to be written on the Tag provided so that it can be used to initiate transactions. The data to be written on the Tag is the mobile number of the customer. Follow the steps below:

  • Turn on NFC on your android device
  • Open NFC Tools application you downloaded on your device
  • Go to Write Tab
  • Click on add record button
  • select Text record type
  • Insert a valid phone number in this format including country code e.g 254713195124. Be sure to enter a phone number that is M-Pesa Registered.
  • Click finish when you are done.
  • Notice a Write Tag button, click on it and then approach a NFC Tag provided. Warning: Follow these steps strictly to avoid corrupting the Tag!
  • You can now stick the tag at the back of your phone.

Preparing ACR1252U-M1 Reader

  • Ensure you are connected to the internet
  • Plug in the reader to your USB 2.0 port, if it makes a buzzing sound you are set. ####Running the solution
  • Fire up Microsoft Visual Studio Ultimate 2013
  • Open the project folder and open the project in visual studio, all the libraries used will be installed automatically by nuget package manager, it might take a while, just be patient.
  • Tap the sticker at the back of your phone on your reader.
  • You will receive a USSD push notification requesting for your Bonga Point PIN. To complete the transaction provide the pin. Warning: If you reply with your pin the amount you provided will be deducted from your account. I will not be held accountable for any amounts transferred, funds are transferred at your own risk

mpesa-tap-and-pay's People

Contributors

ngugi1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mpesa-tap-and-pay's Issues

Request for contributors to build user interface

As of this moment, this project runs as a console application. For us to have a presentable product we need to build simple yet usable user interface so that this product can be used by small business to accept payments.

Currently I am thinking of a simple interface that allows a teller to accept payments via any of the services that will be incorporated later.

Other suggestions are also welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.