Пример #1
0
        public void Test_005_Discover_Sale()
        {
            Transaction response = DiscoverManual.Charge(12m)
                                   .WithCurrency("USD")
                                   .Execute();

            Assert.IsNotNull(response);
            Assert.AreEqual("00", response.ResponseCode);
        }
Пример #2
0
        public void Test_005_Discover_Sale()
        {
            Logger.AppendText("\r\nTest_005_Discover_Sale");

            Response = DiscoverManual.Charge(12m)
                       .WithCurrency("USD")
                       .WithClientTransactionId(ClientTransactionId)
                       .WithAddress(Address)
                       .Execute();
        }
Пример #3
0
        public void Test_024_Discover_Internet()
        {
            MasterCardManual.ThreeDSecure = new ThreeDSecure {
                Eci = "5",
                AuthenticationValue = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
            };

            Transaction response = DiscoverManual.Charge(45.02m)
                                   .WithCurrency("USD")
                                   .Execute();

            Assert.IsNotNull(response);
            Assert.AreEqual("00", response.ResponseCode);
        }
Пример #4
0
        public void Test_024b_Discover_Internet()
        {
            Logger.AppendText("\r\nTest_024_Discover_Internet");

            DiscoverManual.ThreeDSecure = new ThreeDSecure {
                Eci           = 5,
                SecureCode    = "1234567890123456789012345678901234567890",
                UCAFIndicator = UCAFIndicator.FullyAuthenticated
            };

            Response = DiscoverManual.Charge(45.02m)
                       .WithCurrency("USD")
                       .WithAddress(Address)
                       .WithClientTransactionId(ClientTransactionId)
                       .Execute();
        }