Beispiel #1
0
        public IActionResult Payment()
        {
            var clientOrderInfo = clientLogic.GetClientOrderInfo(HttpContext.Session);

            if (clientOrderInfo == null)
            {
                return(RedirectToAction("ClientCheckout"));
            }


            return(View());
        }
Beispiel #2
0
        public IActionResult Payment()
        {
            var clientOrderInfo = clientLogic.GetClientOrderInfo(HttpContext.Session);

            if (clientOrderInfo == null)
            {
                return(RedirectToAction("ClientCheckout"));
            }


            ViewData["PublicKey"] = config.GetSection("Stripe")["PublicKey"];



            return(View());
        }