Beispiel #1
0
        public void TransferToCardWithBillingAddressInfo()
        {
            var conf = LACONF.AsLaconicConfig();

            using (new ServiceBaseApplication(null, conf))
            {
                var ps = PaySystem.Instances["stripe"];
                using (var pss = ps.StartSession())
                {
                    PayTestCommon.TransferToCardWithBillingAddressInfo(pss);
                }
            }
        }
Beispiel #2
0
        public void RefundFullTwoParts()
        {
            var conf = LACONF.AsLaconicConfig();

            using (new ServiceBaseApplication(null, conf))
            {
                var ps = PaySystem.Instances["stripe"];
                using (var pss = ps.StartSession())
                {
                    PayTestCommon.RefundFullTwoParts(pss);
                }
            }
        }
Beispiel #3
0
        public void CaptureExplicitTotal()
        {
            var conf = LACONF.AsLaconicConfig();

            using (new ServiceBaseApplication(null, conf))
            {
                var ps = PaySystem.Instances["stripe"];
                using (var pss = ps.StartSession())
                {
                    PayTestCommon.CaptureExplicitTotal(pss);
                }
            }
        }
Beispiel #4
0
        public void TransferToBank()
        {
            var conf = LACONF.AsLaconicConfig();

            using (new ServiceBaseApplication(null, conf))
            {
                var ps = PaySystem.Instances["mock"];
                using (var pss = ps.StartSession())
                {
                    PayTestCommon.TransferToBank(pss);
                }
            }
        }
Beispiel #5
0
        public void ChargeCardExpYearErr()
        {
            var conf = LACONF.AsLaconicConfig();

            using (new ServiceBaseApplication(null, conf))
            {
                var ps = getPaySystem();

                using (var sess = ps.StartSession())
                {
                    PayTestCommon.ChargeCardExpYearErr(sess);
                }
            }
        }
Beispiel #6
0
        public void ChargeWithBillingAddressInfo()
        {
            var conf = LACONF.AsLaconicConfig();

            using (new ServiceBaseApplication(null, conf))
            {
                var ps = getPaySystem();

                using (var sess = ps.StartSession())
                {
                    PayTestCommon.ChargeWithBillingAddressInfo(sess);
                }
            }
        }