public VerificationResponse InvokeVerificationPayment(VerificationRequest verificationRequest) { _HttpCore.URL = _Urls.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 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); }