public VerificationResponse InvokePaymentVerificationWithExtra(PaymentVerification verificationRequest) { URLs url = new URLs(this.IsSandBox, true); _HttpCore.URL = url.GetVerificationURL(); _HttpCore.Method = Method.POST; _HttpCore.Raw = verificationRequest; String response = _HttpCore.Get(); VerificationResponse verification = Newtonsoft.Json.JsonConvert.DeserializeObject <VerificationResponse>(response); return(verification); }
public VerificationResponse InvokePaymentVerification(PaymentVerification verificationRequest) { URLs url = new URLs(IsSandBox); _HttpCore.URL = url.GetVerificationURL(); _HttpCore.Method = Method.POST; _HttpCore.Raw = verificationRequest; string response = _HttpCore.Get(); VerificationResponse verification = JsonConvert.DeserializeObject <VerificationResponse>(response); return(verification); }
public VerificationResponse InvokePaymentVerification(PaymentVerification verificationRequest) { URLs url = new URLs(this.IsSandBox); _HttpCore.URL = url.GetVerificationURL(); _HttpCore.Method = Method.POST; _HttpCore.Raw = verificationRequest; String response = _HttpCore.Get(); JavaScriptSerializer j = new JavaScriptSerializer(); VerificationResponse verification = j.Deserialize <VerificationResponse>(response); return(verification); }
public PaymentResponse InvokePaymentRequest(PaymentRequest PaymentRequest) { _Urls = new URLs(this.IsSandBox); _HttpCore.URL = _Urls.GetPaymentRequestURL(); _HttpCore.Method = Method.POST; _HttpCore.Raw = PaymentRequest; this.PaymentRequest = PaymentRequest; String response = _HttpCore.Get(); JavaScriptSerializer j = new JavaScriptSerializer(); PaymentResponse _Response = j.Deserialize <PaymentResponse>(response); _Response.PaymentURL = _Urls.GetPaymenGatewayURL(_Response.Authority); return(_Response); }
public PaymentResponse InvokePaymentRequestWithExtra(PaymentRequestWithExtra paymentRequestWithExtra) { URLs url = new URLs(this.IsSandBox, true); _HttpCore.URL = url.GetPaymentRequestURL(); _HttpCore.Method = Method.POST; _HttpCore.Raw = PaymentRequest; this.PaymentRequest = PaymentRequest; String response = _HttpCore.Get(); PaymentResponse _Response = Newtonsoft.Json.JsonConvert.DeserializeObject <PaymentResponse>(response); _Response.PaymentURL = url.GetPaymenGatewayURL(_Response.Authority); return(_Response); }
public PaymentResponse InvokePaymentRequest(PaymentRequest PaymentRequest) { URLs url = new URLs(IsSandBox); _HttpCore.URL = url.GetPaymentRequestURL(); _HttpCore.Method = Method.POST; _HttpCore.Raw = PaymentRequest; this.PaymentRequest = PaymentRequest; string response = _HttpCore.Get(); PaymentResponse _Response = JsonConvert.DeserializeObject <PaymentResponse>(response); _Response.PaymentURL = url.GetPaymenGatewayURL(_Response.Authority); return(_Response); }
public PaymentResponse InvokePaymentRequestWithExtra(PaymentRequestWithExtra paymentRequestWithExtra) { URLs url = new URLs(this.IsSandBox, true); _HttpCore.URL = url.GetPaymentRequestURL(); _HttpCore.Method = Method.POST; _HttpCore.Raw = PaymentRequest; this.PaymentRequest = PaymentRequest; String response = _HttpCore.Get(); JavaScriptSerializer j = new JavaScriptSerializer(); PaymentResponse _Response = j.Deserialize <PaymentResponse>(response); _Response.PaymentURL = url.GetPaymenGatewayURL(_Response.Authority); return(_Response); }