cash_wallet_plugin 0.0.3
cash_wallet_plugin: ^0.0.3 copied to clipboard
flutter code for cash wallet apis.
# cash_wallet_plugin
A flutter plugin for cash wallet apis.
Installation #
Run flutter pub add cash_wallet_plugin
Or
add cash_wallet_plugin as a dependency in your pubspec.yaml file. and run flutter pub get.
Usage #
To use this plugin,
void cashWallet(BuildContext context) async {
CashAip cashApi = CashApi(
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,
);
if (await cashApi.initialise()) {
//your code when Success payment
} else {
//your code when error in payment
}
}

