예제 #1
0
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "MerchantUID",
                    Value = "9a6646ab-5e5e-40b8-aa06-015ec6031bd0"
                },
                new MerchantConfigValue
                {
                    Key   = "PaymentApplicationUID",
                    Value = "bbd74b25-51a3-4bdc-8c90-d64f2c23b9ef"
                },
                //new MerchantConfigValue
                //{
                //    Key="VaultApplicationUID",
                //    Value=""
                //},
                new MerchantConfigValue
                {
                    Key   = "GatewayBank",
                    Value = "01"
                }
            };

            Login(true, config);
        }
        public void LoginTest()
        {
            isTest = true;
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "PayGateID",
                    Value = "10011021600"
                },
                new MerchantConfigValue
                {
                    Key   = "Password",
                    Value = "test"
                },
                new MerchantConfigValue
                {
                    Key   = "BankAccountEnabled",
                    Value = BankAccountEnabled.ToString()
                },
                new MerchantConfigValue
                {
                    Key   = "CreditCardEnabled",
                    Value = CreditCardEnabled.ToString()
                }
            };

            Login(true, config);
        }
예제 #3
0
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                //This corresponds to the x_login field and is your API Login ID
                new MerchantConfigValue
                {
                    Key   = "MerchantId",
                    Value = "ffsxw99q6z4bcg87"
                },
                //This correspond to the x_tran_key field and is your Transaction Key value
                new MerchantConfigValue
                {
                    Key   = "PublicKey",
                    Value = "xjrf3g4ndfrrn6q2"
                },
                new MerchantConfigValue
                {
                    Key   = "PrivateKey",
                    Value = "74063683b81c1c3654ed1cf80ce0eafc"
                }
            };

            Login(true, config);
        }
예제 #4
0
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "CompanyID",
                    Value = "testaccount"
                },
                new MerchantConfigValue
                {
                    Key   = "Outlet",
                    Value = "testaccount"
                },
                new MerchantConfigValue
                {
                    Key   = "Username",
                    Value = "testaccount"
                },
                new MerchantConfigValue
                {
                    Key   = "Password",
                    Value = "testaccount"
                }
                ,
                new MerchantConfigValue
                {
                    Key   = "isAutoSettleOn",
                    Value = "true"
                }
            };

            Login(true, config);
        }
예제 #5
0
        public void LoginTest()
        {
            isTest = true;
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "DevToken",
                    Value = "64c00a5eabb836b0d322da98f5b5b5ce"
                },
                new MerchantConfigValue
                {
                    Key   = "devID",
                    Value = "2"
                },
                new MerchantConfigValue
                {
                    Key   = "cref",
                    Value = "THECODEGRO"
                }
                //new MerchantConfigValue
                //{
                //    Key="BankAccountEnabled",
                //    Value=BankAccountEnabled.ToString()
                //},
                //new MerchantConfigValue
                //{
                //    Key="CreditCardEnabled",
                //    Value=CreditCardEnabled.ToString()
                //}
            };

            Login(true, config);
        }
예제 #6
0
 public void LoginTest()
 {
     MerchantConfigValue[] config = new MerchantConfigValue[]
     {
         new MerchantConfigValue
         {
             Key   = "PublishableKey",
             Value = "pk_test_3OlSntr4fXcvqqXljqEXqiZM"
         },
         new MerchantConfigValue
         {
             Key   = "SecretKey",
             Value = "sk_test_QKOge2uJCpgDwcA91NnaMl4W"
         }
     };
     Login(true, config);
 }
예제 #7
0
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "PayGateID",
                    Value = "10011021600"
                },
                new MerchantConfigValue
                {
                    Key   = "Password",
                    Value = "test"
                }
            };

            Login(true, config);
        }
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "partner",
                    Value = "1900000109"
                },
                new MerchantConfigValue
                {
                    Key   = "key",
                    Value = "8934e7d15453e97507ef794cf7b0519d"
                }
            };

            Login(true, config);
        }
예제 #9
0
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "BusinessEmail",
                    Value = "*****@*****.**"
                },
                new MerchantConfigValue
                {
                    Key   = "PDTIdentityToken",
                    Value = "qeEqf9k6qyMUJJzw1Gp_MFhfk0fKw0J8QQ62p3AKHKTwLPBCFKivnwrCqRy"
                }
            };

            Login(true, config);
        }
예제 #10
0
        /// <summary>
        /// Logs in using test credentials, need to pre-set BankAccountEnabled and CreditCardEnabled for stuff to work
        /// </summary>
        public void LoginTest()
        {
            isTest = true;
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "MerchantNumber",
                    Value = "AB99999"
                },
                new MerchantConfigValue
                {
                    Key   = "MerchantUID",
                    Value = "9a6646ab-5e5e-40b8-aa06-015ec6031bd0"
                },
                new MerchantConfigValue
                {
                    Key   = "ApplicationUID",
                    Value = "bbd74b25-51a3-4bdc-8c90-d64f2c23b9ef"
                },
                new MerchantConfigValue
                {
                    Key   = "ServiceType",
                    Value = "TwoDay"
                },
                new MerchantConfigValue
                {
                    Key   = "BankAccountEnabled",
                    Value = BankAccountEnabled.ToString()
                },
                new MerchantConfigValue
                {
                    Key   = "CreditCardEnabled",
                    Value = CreditCardEnabled.ToString()
                }
            };

            Login(true, config);
        }
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "partner",
                    Value = "2088102135220161"
                },
                new MerchantConfigValue
                {
                    Key   = "security_code",
                    Value = "a5erdelradlhg3j9jw4d7nd2d442s0lw"
                },
                new MerchantConfigValue
                {
                    Key   = "seller_email",
                    Value = "*****@*****.**"
                }
                //new MerchantConfigValue
                //{
                //    Key="currency",
                //    Value="USD"
                //},
                // new MerchantConfigValue
                //{
                //    Key="total_fee",
                //    Value="0.01"
                //},
                //new MerchantConfigValue
                //{
                //    Key="body",
                //    Value="Test Item Body"
                //},
            };

            Login(true, config);
        }
예제 #12
0
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "SafeKey",
                    Value = "{E7A333D4-CC48-4463-BEC6-A4BC1F16DC30}"
                },
                new MerchantConfigValue
                {
                    Key   = "Username",
                    Value = "Staging Enterprise Integration Store 1"
                },
                new MerchantConfigValue
                {
                    Key   = "Password",
                    Value = "j3w8swi5"
                }
            };

            Login(true, config);
        }
예제 #13
0
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "UserID",
                    Value = "9659"
                },
                new MerchantConfigValue
                {
                    Key   = "UserName",
                    Value = "Mohamed"
                },
                new MerchantConfigValue
                {
                    Key   = "Password",
                    Value = "CO18evI3"
                }
            };

            Login(true, config);
        }
        public void LoginTest()
        {
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "PublicKey",
                    Value = "xjrf3g4ndfrrn6q2"
                },
                new MerchantConfigValue
                {
                    Key   = "PrivateKey",
                    Value = "74063683b81c1c3654ed1cf80ce0eafc"
                },
                new MerchantConfigValue
                {
                    Key   = "MerchantId",
                    Value = "ffsxw99q6z4bcg87"
                }
            };

            Login(true, config);
        }
예제 #15
0
        /// <summary>
        /// Logs in using test credentials, need to pre-set BankAccountEnabled and CreditCardEnabled for stuff to work
        /// </summary>
        public void LoginTest()
        {
            isTest = true;
            MerchantConfigValue[] config = new MerchantConfigValue[]
            {
                new MerchantConfigValue
                {
                    Key   = "ServiceKey",
                    Value = "80630e7e-64ba-46a8-a9fb-915c864dcd8d"
                },
                new MerchantConfigValue
                {
                    Key   = "ServiceType",
                    Value = "TWODAY"
                },
                new MerchantConfigValue
                {
                    Key   = "AccountServiceKey",
                    Value = "fd7868e3-875e-41dc-b7f0-67d052e4bf2c"
                },
            };

            Login(true, config);
        }