lipa_na_mpesa_online 0.9.91 lipa_na_mpesa_online: ^0.9.91 copied to clipboard
This is a dart mpesa daraja api from safaricom sandbox online payment. Written in pure dart for(ios, android, web and in plain native dart) and works.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add lipa_na_mpesa_online
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
lipa_na_mpesa_online: ^0.9.91
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:lipa_na_mpesa_online/lipa_na_mpesa_online.dart';