Last active
February 6, 2021 01:07
-
-
Save JosephineAkello/5af958916e912f7ab79675d90c3e061c to your computer and use it in GitHub Desktop.
Mpesa method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:mpesa_flutter_plugin/mpesa_flutter_plugin.dart'; | |
void main() { | |
MpesaFlutterPlugin.setConsumerKey("Your Consumer Key from the safarocom portal, its random eg.'8joAntLHTIT28Pup....' "); | |
MpesaFlutterPlugin.setConsumerSecret("Your Consumer Secret from the safarocom portal, its random eg. 'kjiUWoPT4...' "); | |
runApp(MyApp()); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment