示例#1
0
        public void PaymentsGetTest()
        {
            // TODO uncomment below and replace merchant access key to test the basic method

            string id    = null;
            string token = null;

            var authorization = authorizationApi.AuthorizationCreateToken();

            token = "001.u0hglki77ko70iuavgnb31vo2qq4ehold53brkdngfj9l73f";

            var response = instance.PaymentGetByToken(token);

            response = instance.PaymentGet(response.Id);

            System.Threading.Thread.Sleep(2000); // Give the system time to complete the creation of the order

            Assert.IsInstanceOf <Payment> (response, "response is Checkout");
        }