• Stars
    star
    192
  • Rank 202,019 (Top 4 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created over 6 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android MPESA SDK Library to provide smooth MPESA Experience in Android - Dubbed Daraja

Android M-Pesa Daraja SDK

This is a simple Android M-PESA SDK to allow you to integrate Safaricom M-PESA API dubbed Daraja in your Android App with ease without knowing a thing. It’s easy. I promise. πŸš€

This version only offers the MPESA Express (STKPush) Support.

Download

Daraja available for download on mavenCentral()

Kotlin

dependencies {
    implementation("com.androidstudy.daraja:daraja:2.0.2")
}

Groovy

dependencies {
    implementation 'com.androidstudy.daraja:daraja:2.0.2'
}

Quick Start

WIP - need to be updated

Requirements

  • AndroidX
  • Min SDK 14+
  • Java 8+

Lipa na M-Pesa Online Payment API

The following table highlights the requirements needed by Daraja, as described in the Safaricom Developer API Page

Name Description Parameter Type Possible Values
BusinessShortCode The organization shortcode used to receive the transaction Numeric Shortcode (6 digits)
Passkey Lipa Na Mpesa Online PassKey Alpha-Numeric
Amount The amount to be transacted Numeric 100
PhoneNumber The MSISDN sending the funds Numeric MSISDN (12 digits)
CallBackURL Call Back URL URL https://ip or domain:port/path
AccountReference Account Reference Alpha-Numeric Any combinations of letters and numbers
TransactionDesc Description of the transaction String any string of less then 20 characters

Get the Pass Key Here : https://developer.safaricom.co.ke/test_credentials

More Repositories

1

AndroidNetworkManager

A library to check the Internet Connection Status in Android (WiFi and Mobile Data)
Java
52
star
2

andela-med-manager

My Final Andela Learning Community 2.0 Android Intermediate Assessment Med-App Challenge
Java
42
star
3

dev-fest-2019

An App which shows how to use Dynamic Modules, MVVM, Room, DI, App Bundles and Internal App Sharing (PlayStore), in Kotlin)
Kotlin
37
star
4

andela-crypto-app

My Andela Learning Community 2.0 Android Intermediate Assessment CryptoApp Challenge
Java
26
star
5

apollo-agriculture

Show weather data for the current location [Apollo Agriculture Interview Solution], for the Senior Android Engineer Role
Kotlin
24
star
6

safeboda

Mobile App that shows Github Users and Organizations Profiles [Safeboda Interview Solution], for the Senior Android Engineer Role
Kotlin
21
star
7

huawei-hms

Mobile app with Huawei Mobile Services [Huawei Interview Solution], for the Huawei Mobile Service Engineer Role
Kotlin
14
star
8

justeat

Mobile App that shows Restaurants [Just Eat Interview Solution], for the Android Engineer Role
Kotlin
8
star
9

kotlin-data-structures-algorithms

This is my public playground for practicing Data Structures and Algorithms using Kotlin
Kotlin
8
star
10

nala-money

Mobile app to show transactions [NALA Interview Solution], for the Senior Android Engineer Role
Kotlin
7
star
11

MLKit

Learn how to build android apps with ML Kit
Kotlin
6
star
12

shara-web

a simple shara web dashboard, in Vue Js, to show users and their orders
Vue
6
star
13

shara-mobile-nativescript

a simple android app, in nativescript-vue, to create users and their orders
Vue
6
star
14

shara-api

a simple shara api, in Adonis Js, to manage users and their orders
JavaScript
4
star
15

tesla

Insipired by : https://twitter.com/_jumaallan/status/1563934596521246720
Kotlin
4
star
16

jumaallan

Hi, Juma Allan here
4
star
17

io-extended-23-ke-talks

Repo with code for my different talks during IO Extended events in KE 2023
Kotlin
3
star
18

shara-mobile-kotlin

Shara app to create orders, and add products [Shara Interview Solution], for the Mobile Engineer Role
Kotlin
2
star
19

showcase

This is a template app for experimenting with the new android practices, and can be used as a template to create android projects
Kotlin
2
star
20

ARCore

Learn how to make augmented reality android apps with ARCore using Screenform
Kotlin
1
star