public void Test_035_Tokenize_MasterCard_BIN2() { Logger.AppendText("\r\nTest_035_Tokenize_MasterCard_BIN2"); string token = MasterCardBin2Manual.Tokenize(false); Assert.IsNotNull(token); Logger.AppendText("MasterCard BIN2 Token: {0}", token); }
public void Test_004_MasterCard_BIN2_Sale() { Transaction response = MasterCardBin2Manual.Charge(11.1m) .WithCurrency("USD") .Execute(); Assert.IsNotNull(response); Assert.AreEqual("10", response.ResponseCode); Assert.AreEqual(5.55m, response.AuthorizedAmount); }
public void Test_004_MasterCard_BIN2_Sale() { Logger.AppendText("\r\nTest_004_MasterCard_BIN2_Sale"); Response = MasterCardBin2Manual.Charge(11.1m) .WithCurrency("USD") .WithClientTransactionId(ClientTransactionId) .WithAddress(Address) .Execute(); Assert.AreEqual(5.55m, Response?.AuthorizedAmount); }