screenlessCreditCardPayment method

  1. @override
Future<ScreenlessResult> screenlessCreditCardPayment(
  1. CreditCardPayment creditCardPayment
)
override

Method used to start screenless credit card payment

Implementation

@override
Future<ScreenlessResult> screenlessCreditCardPayment(CreditCardPayment creditCardPayment) async {
  final result = await methodChannel.invokeMethod(screenlessCreditCardPaymentMethod, jsonEncode(creditCardPayment));

  return mapScreenlessResult(result);
}