Skip to content

NehemiahLimo/flutter-mpesa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter mpesa

Flutter package for mpesa

  • This is a package that helps you implement the daraja API by Safaricom into your flutter applications.
  • Currently only supports STK push.
  • Please pay keen attention to the password property of the Request object.
  • Your password is the result of base64.encode(Shortcode+Passkey+Timestamp)

Getting Started

  • Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  fluttermpesa: ^0.0.1 
  • Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

  • Import it

Now in your Dart code, you can use:

import 'package:fluttermpesa/fluttermpesa.dart';
  

About

Flutter package for the Mpesa daraja API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 92.3%
  • Kotlin 3.7%
  • Swift 3.7%
  • Objective-C 0.3%