xPayFrontOfficePaga method
Makes the web view payment and awaits the response
Implementation
Future<String> xPayFrontOfficePaga(
String alias, String codTrans, String currency, int amount) async {
await _initXPay(secretKey, environment, domain);
ApiFrontOfficeQPRequest request =
ApiFrontOfficeQPRequest(alias, codTrans, currency, amount);
var res =
await _channel.invokeMethod("xPayFrontOfficePaga", request.toMap());
return res;
}