Пример #1
0
 public System.Threading.Tasks.Task <Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationResponse> PaymentVerificationAsync(string MerchantID, string Authority, int Amount)
 {
     Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationRequest inValue = new Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationRequest();
     inValue.Body            = new Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationRequestBody();
     inValue.Body.MerchantID = MerchantID;
     inValue.Body.Authority  = Authority;
     inValue.Body.Amount     = Amount;
     return(((Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentVerificationAsync(inValue));
 }
Пример #2
0
 public int PaymentVerification(string MerchantID, string Authority, int Amount, out long RefID)
 {
     Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationRequest inValue = new Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationRequest();
     inValue.Body            = new Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationRequestBody();
     inValue.Body.MerchantID = MerchantID;
     inValue.Body.Authority  = Authority;
     inValue.Body.Amount     = Amount;
     Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationResponse retVal = ((Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentVerification(inValue);
     RefID = retVal.Body.RefID;
     return(retVal.Body.Status);
 }
Пример #3
0
 System.Threading.Tasks.Task <Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationResponse> Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentGatewayImplementationServicePortType.PaymentVerificationAsync(Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationRequest request)
 {
     return(base.Channel.PaymentVerificationAsync(request));
 }
Пример #4
0
 Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationResponse Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentGatewayImplementationServicePortType.PaymentVerification(Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentVerificationRequest request)
 {
     return(base.Channel.PaymentVerification(request));
 }