Пример #1
0
        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);
        }
Пример #2
0
        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);
        }