Ejemplo n.º 1
0
 public Robokassa(ISettingService settingService, 
     HttpContextBase httpContext,
     RobokassaSettings robokassaSettings
     )
 {
     this._settingService = settingService;
     this._httpContext = httpContext;
     this._robokassaSettings = robokassaSettings;
 }
Ejemplo n.º 2
0
        public override void Install()
        {
            var settings = new RobokassaSettings() { };
            _settingService.SaveSetting(settings);

            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.Login", "Login");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.Login.Hint", "Enter login");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.Password1", "Password1");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.Password1.Hint", "Enter password 1");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.Password2", "Password2");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.Password2.Hint", "Enter password 2");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.PaymentDescription", "Payment Description");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.PaymentDescription.Hint", "Enter payment description");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.ApiURL", "Api URL");
            this.AddOrUpdatePluginLocaleResource("Plugins.Payment.Robokassa.ApiURL.Hint", "Enter Api URL");
            base.Install();
        }