public void Test_005_Discover_Sale() { Transaction response = DiscoverManual.Charge(12m) .WithCurrency("USD") .Execute(); Assert.IsNotNull(response); Assert.AreEqual("00", response.ResponseCode); }
public void Test_005_Discover_Sale() { Logger.AppendText("\r\nTest_005_Discover_Sale"); Response = DiscoverManual.Charge(12m) .WithCurrency("USD") .WithClientTransactionId(ClientTransactionId) .WithAddress(Address) .Execute(); }
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); }
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(); }