startPayment method

  1. @override
Future<Result> startPayment(
  1. SingleTransaction transaction
)
override

Method used to start standard payment with Tpay UI Module

Implementation

@override
Future<Result> startPayment(SingleTransaction transaction) async {
  final result = await methodChannel.invokeMethod(startPaymentMethod, jsonEncode(transaction));

  return mapResult(result);
}