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