Exemplo n.º 1
0
        public static GiftCard SvsSwipe()
        {
            GiftCard rvalue = new GiftCard();

            rvalue.SetValue(";6006491260550211509=491211080678766?");
            return(rvalue);
        }
Exemplo n.º 2
0
        public static GiftCard GiftCardSwipe()
        {
            GiftCard rvalue = new GiftCard();

            rvalue.SetValue(";7083559900008157914=99990012698900000?");
            return(rvalue);
        }
Exemplo n.º 3
0
        public static GiftCard ValueLinkSwipe()
        {
            GiftCard rvalue = new GiftCard();

            rvalue.SetValue("7083559999009209310=999900100000000");
            return(rvalue);
        }
Exemplo n.º 4
0
        public static GiftCard ValueLinkManual()
        {
            GiftCard rvalue = new GiftCard();

            rvalue.SetValue("6010561234567890123");
            return(rvalue);
        }
Exemplo n.º 5
0
        public static GiftCard SvsSwipe()
        {
            GiftCard rvalue = new GiftCard();

            rvalue.SetValue(";7083559900007000818=99990012504400000?");
            return(rvalue);
        }
Exemplo n.º 6
0
        public static GiftCard GiftCardManual()
        {
            GiftCard rvalue = new GiftCard();

            rvalue.SetValue("7083559900008154580");
            rvalue.Pin = "7298";
            return(rvalue);
        }
Exemplo n.º 7
0
        /*
         * SVS
         * ;7083559900007000792=99990018010300000?
         * ;7083559900007000776=99990013849500000?
         * ;7083559900007000818=99990012504400000?
         */
        public static GiftCard SvsManual()
        {
            GiftCard rvalue = new GiftCard();

            rvalue.SetValue("6394700000001113");
            rvalue.Pin = "1234";
            return(rvalue);
        }
Exemplo n.º 8
0
        /*
         * SVS
         * ;7083559900007000792=99990018010300000?
         * ;7083559900007000776=99990013849500000?
         * ;7083559900007000818=99990012504400000?
         */
        public static GiftCard SvsManual()
        {
            GiftCard rvalue = new GiftCard();

            //rvalue.SetValue("6006491260550211418");
            //rvalue.Pin = "5599";
            //rvalue.SetValue("6006491286999996756");
            //rvalue.Pin = "1544";
            rvalue.SetValue("6006491260550211509");
            rvalue.Pin = "7142";
            return(rvalue);
        }
Exemplo n.º 9
0
        public void value_link_card_type_test()
        {
            GiftCard card = new GiftCard();

            card.SetValue("6010567085878703=25010004000070779628");

            Transaction response = card.Authorize(new Decimal(1.00), true)
                                   .WithCurrency("USD")
                                   .Execute();

            Assert.IsNotNull(response);
            System.Diagnostics.Debug.WriteLine(response.HostResponseDate);
            System.Diagnostics.Debug.WriteLine(response.SystemTraceAuditNumber);
            Assert.AreEqual("000", response.ResponseCode);
        }