public ActionResult Confirm() { IPayment payment = _payments.GetPayment(_global.GetAllConfigs().FirstOrDefault(x => x.Key == "PaymentClass").Value); AuthoriseRequest authoriseRequest = new AuthoriseRequest() { }; var response = payment.Authorise(authoriseRequest); return(View()); }