public ActionResult Configure(PaymentSettingModel model)
        {
            var stripeApiKey = _settingDictionaryService.GetSettingDictionary(CacheHelper.Settings.ID, StripePlugin.SettingStripeApiKey);
            stripeApiKey.Value = model.StripeApiKey;
            _settingDictionaryService.SaveSettingDictionary(stripeApiKey);

            var stripeClientID = _settingDictionaryService.GetSettingDictionary(CacheHelper.Settings.ID, StripePlugin.SettingStripeClientID);
            stripeClientID.Value = model.StripeClientID;
            _settingDictionaryService.SaveSettingDictionary(stripeClientID);

            var stripePublishableKey = _settingDictionaryService.GetSettingDictionary(CacheHelper.Settings.ID, StripePlugin.SettingStripePublishableKey);
            stripePublishableKey.Value = model.StripePublishableKey;
            _settingDictionaryService.SaveSettingDictionary(stripePublishableKey);

            _unitOfWorkAsync.SaveChanges();

            _dataCacheService.RemoveCachedItem(CacheKeys.SettingDictionary);
            _dataCacheService.RemoveCachedItem(CacheKeys.Settings);

            TempData[TempDataKeys.UserMessage] = "[[[Plugin updated!]]]";

            return RedirectToAction("Plugins", "Plugin", new { area = "Admin" });
        }
        public ActionResult Configure()
        {
            // Get payment info
            var model = new PaymentSettingModel()
            {
                Setting = CacheHelper.Settings,
                StripeClientID = CacheHelper.GetSettingDictionary(StripePlugin.SettingStripeClientID).Value,
                StripeApiKey = CacheHelper.GetSettingDictionary(StripePlugin.SettingStripeApiKey).Value,
                StripePublishableKey = CacheHelper.GetSettingDictionary(StripePlugin.SettingStripePublishableKey).Value
            };

            return View("~/Plugins/Plugin.Payment.Stripe/Views/Configure.cshtml", model);
        }