public ActionResult Configure()
        {
            var model = new ConfigurationModel();
            model.MerchantId = _PaytmPaymentSettings.MerchantId;
			model.MerchantKey = _PaytmPaymentSettings.MerchantKey;
			model.Website = _PaytmPaymentSettings.Website;
			model.IndustryTypeId = _PaytmPaymentSettings.IndustryTypeId;
			model.PaymentUrl = _PaytmPaymentSettings.PaymentUrl;
			model.CallBackUrl = _PaytmPaymentSettings.CallBackUrl;
            return View("~/Plugins/Payments.Paytm/Views/PaymentPaytm/Configure.cshtml", model);
        }
        public ActionResult Configure(ConfigurationModel model)
        {
            if (!ModelState.IsValid)
                return Configure();

            //save settings
            _PaytmPaymentSettings.MerchantId = model.MerchantId;
			_PaytmPaymentSettings.MerchantKey = model.MerchantKey;
			_PaytmPaymentSettings.Website = model.Website;
			_PaytmPaymentSettings.IndustryTypeId = model.IndustryTypeId;
			_PaytmPaymentSettings.PaymentUrl = model.PaymentUrl;
			_PaytmPaymentSettings.CallBackUrl = model.CallBackUrl;
            _settingService.SaveSetting(_PaytmPaymentSettings);

            return Configure();
        }