Example #1
0
        private void MostrarVistaTarjeta(VentaDetalleTableViewController VistaPagos, string total)
        {
            suiteController = new SuiteController(SuitemCommerce.Environment.Qa, VistaPagos, this);

            if (total == "")
            {
                total = "100";
            }

            beanTokenization = new BeanTokenization
            {
                Branch        = "000025",
                Company       = "Z703",
                Country       = "MEX",
                User          = "******",
                Password      = "******",
                Merchant      = "158128",
                Currency      = Currency.Mxn,
                OperationType = "6",
                Reference     = "",
                Amount        = total,
            };

            bean3DS = new Bean3DS
            {
                Branch    = "000025",
                Company   = "Z703",
                Country   = "MEX",
                User      = "******",
                Password  = "******",
                Merchant  = "158198",
                Currency  = Currency.Mxn,
                Reference = "",
                AuthKey   = "516883905548514953564957"
            };
            suiteController.AuthenticateWithBeanTokenization(beanTokenization, bean3DS);
            suiteController.SndPayWithTokenWithBeanTokenization(beanTokenization, bean3DS);
        }
Example #2
0
 public void Pagar(VentaDetalleTableViewController VistaPagos, string Total)
 {
     this.MostrarVistaTarjeta(VistaPagos, Total);
 }