Exemple #1
0
 public System.Threading.Tasks.Task <Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestResponse> PaymentRequestAsync(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL)
 {
     Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestRequest inValue = new Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestRequest();
     inValue.Body             = new Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestRequestBody();
     inValue.Body.MerchantID  = MerchantID;
     inValue.Body.Amount      = Amount;
     inValue.Body.Description = Description;
     inValue.Body.Email       = Email;
     inValue.Body.Mobile      = Mobile;
     inValue.Body.CallbackURL = CallbackURL;
     return(((Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequestAsync(inValue));
 }
Exemple #2
0
 public int PaymentRequest(string MerchantID, int Amount, string Description, string Email, string Mobile, string CallbackURL, out string Authority)
 {
     Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestRequest inValue = new Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestRequest();
     inValue.Body             = new Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestRequestBody();
     inValue.Body.MerchantID  = MerchantID;
     inValue.Body.Amount      = Amount;
     inValue.Body.Description = Description;
     inValue.Body.Email       = Email;
     inValue.Body.Mobile      = Mobile;
     inValue.Body.CallbackURL = CallbackURL;
     Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestResponse retVal = ((Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentGatewayImplementationServicePortType)(this)).PaymentRequest(inValue);
     Authority = retVal.Body.Authority;
     return(retVal.Body.Status);
 }
Exemple #3
0
 System.Threading.Tasks.Task <Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestResponse> Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequestAsync(Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestRequest request)
 {
     return(base.Channel.PaymentRequestAsync(request));
 }
Exemple #4
0
 Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestResponse Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentGatewayImplementationServicePortType.PaymentRequest(Nop.Plugin.Payments.ZarinPal.wsZarinPal.PaymentRequestRequest request)
 {
     return(base.Channel.PaymentRequest(request));
 }