コード例 #1
0
 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);;
     }
 }
コード例 #2
0
 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);;
     }
 }