예제 #1
0
        public void EbtRefund()
        {
            var response = card.Refund(10m)
                           .WithCurrency("USD")
                           .Execute();

            Assert.IsNotNull(response);
            Assert.AreEqual("00", response.ResponseCode, response.ResponseMessage);
        }
예제 #2
0
        public void EbtSaleRefund_CardData()
        {
            var response = ebtCardData.Refund(AMOUNT)
                           .WithCurrency(CURRENCY)
                           .Execute();

            AssertEbtResponse(response, TransactionStatus.Captured);
        }
예제 #3
0
        public void EbtRefund()
        {
            var response = card.Refund(10m)
                           .WithCurrency("USD")
                           .Execute();

            Assert.IsNotNull(response);
            Assert.AreEqual(SUCCESS, response?.ResponseCode);
            Assert.AreEqual(GetMapping(TransactionStatus.Captured), response?.ResponseMessage);
        }