예제 #1
0
        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);
        }
예제 #2
0
        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);
        }
예제 #3
0
        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);
        }
예제 #4
0
        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);
        }