Exemplo n.º 1
0
        public void CreditSwipeReverse()
        {
            var response = track.Charge(19m)
                           .WithCurrency("USD")
                           .WithAllowDuplicates(true)
                           .Execute();

            Assert.IsNotNull(response);
            Assert.AreEqual("00", response.ResponseCode);

            var reverseResponse = track.Reverse(19m)
                                  .WithAllowDuplicates(true)
                                  .Execute();

            Assert.IsNotNull(reverseResponse);
            Assert.AreEqual("00", reverseResponse.ResponseCode);
        }