Exemple #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);
                }
            }
        }
Exemple #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);
                }
            }
        }
Exemple #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);
                }
            }
        }
Exemple #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);
                }
            }
        }
Exemple #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);
                }
            }
        }
Exemple #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);
                }
            }
        }