startPayActivityNoToken method
Implementation
@override
Future<PaymentResult?> startPayActivityNoToken(Payment payment) async {
String strPayment = paymentToJson(payment);
final result = await methodChannel.invokeMethod<String>(
'StartPayActivityNoToken', {"payment": strPayment});
if (kDebugMode) {
print("resulttttttttt");
print(result);
}
// if (result == "Approved") {
// return PaymentResult(dataMessage: "Approved", maskedPan: "", token: "");
// }
return paymentResultFromJson(result!);
}