Flutter code for cash wallet apis
cash_wallet_plugin
flutter pub get
A flutter plugin for cash wallet apis.
Usage
To use this plugin, add cash_wallet_plugin
as a dependency in your pubspec.yaml file.
void cashWallet(BuildContext context) async {
CashAip cashAip = CashAip(
spId: "//your spId get it from cash wallet supports",
userName: "//your userName get it from cash wallet supports",
keyEncrypt: "//your keyEncrypt get it from cash wallet supports",
password: "//your password get it from cash wallet supports",
context: context,
amount: 1000,
isArabic: true,
);
if (await cashAip.initialise()) {
//your code when Success payment
} else {
//your code when error in payment
}
}
For help getting started with Flutter, view our online documentation.