public string bpReversalRequest(long orderId, long saleOrderId, long saleReferenceId) { try { BankMellatService.PaymentGatewayImplService WebService = new BankMellatService.PaymentGatewayImplService(); return(WebService.bpReversalRequest(terminalId, userName, password, orderId, saleOrderId, saleReferenceId)); } catch (Exception error) { throw new Exception(error.Message);; } }
public string bpPayRequest(long orderId, long priceAmount, string additionalText) { try { BankMellatService.PaymentGatewayImplService WebService = new BankMellatService.PaymentGatewayImplService(); return(WebService.bpPayRequest(terminalId, userName, password, orderId, priceAmount, localDate, localTime, additionalText, callBackUrl, 0)); } catch (Exception error) { throw new Exception(error.Message);; } }