callPayerMaxService method
Future
callPayerMaxService(
- BuildContext context, {
- num amount = 100,
- num coins = 100,
- String planId = "PLAN_100",
Implementation
Future callPayerMaxService(
BuildContext context, {
num amount = 100,
num coins = 100,
String planId = "PLAN_100",
}) async {
await IncodesPaymentServices.payerMaxPayment(
amount: amount,
coins: coins,
coinPlanId: planId,
onPaymentSuccess: () {
IncodesListener().showToast(msg: "PayerMax Payment Success!");
},
onPaymentFailure: () {
IncodesListener().showToast(msg: "PayerMax Payment Failed");
},
);
}