createPayment method
Implementation
Future<MobilePayResult> createPayment({required double productPrice, required String orderId}) {
final completer = new Completer<MobilePayResult>();
_orders[orderId] = completer;
_channel.invokeMethod('createPayment', {
'productPrice': productPrice,
'orderId': orderId
}).catchError((e) => throw e);
return completer.future;
}