public override void Uninstall() { //settings _settingService.DeleteSetting <CardknoxPaymentSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.UseShippingAddressAsBilling"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.UseShippingAddressAsBilling.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.TransactModeValues"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.TransactModeValues.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.TransactionKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.TransactionKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.AdditionalFee"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.AdditionalFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.AdditionalFeePercentage"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.AdditionalFeePercentage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.SoftwareName"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.SoftwareName.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.SoftwareVersion"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.SoftwareVersion.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.UseCustomSoftwareApiVersion"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.Fields.UseCustomSoftwareApiVersion.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Cardknox.PaymentMethodDescription"); base.Uninstall(); }
/// <summary> /// Uninstall the plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <PayPalStandardPaymentSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.AdditionalFee"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.AdditionalFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.AdditionalFeePercentage"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.AdditionalFeePercentage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.BusinessEmail"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.BusinessEmail.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.PassProductNamesAndTotals"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.PassProductNamesAndTotals.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.PDTToken"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.PDTToken.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.RedirectionTip"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.UseSandbox"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Fields.UseSandbox.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.Instructions"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.PaymentMethodDescription"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalStandard.RoundingWarning"); base.Uninstall(); }
/// <summary> /// Uninstall plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <NivoSliderSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Picture1"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Picture2"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Picture3"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Picture4"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Picture5"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Picture"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Picture.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Text"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Text.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Link"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.Link.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.AltText"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.NivoSlider.AltText.Hint"); base.Uninstall(); }
public override void Uninstall() { //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Uri.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Uri"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.RedirectionTip"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Nombre"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Nombre.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.TipoSeguridad"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.TipoSeguridad.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.DirectorioVirtual"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.DirectorioVirtual.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Token"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Token.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Usuario"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Usuario.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Clave"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Clave.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.RutaToken"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.RutaToken.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.EncabezadoToken"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.EncabezadoToken.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.EncabezadoUsuario"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.EncabezadoUsuario.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.EncabezadoClave"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.EncabezadoClave.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Prefijo"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.Prefijo.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.RutaMetodo"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayZonaPagos.RutaMetodo.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayUColombia.AdditionalFee"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayUColombia.AdditionalFee.Hint"); base.Uninstall(); }
/// <summary> /// Uninstall the plugin /// </summary> public override void Uninstall() { //generic attributes var onDateSettings = _rewardPointsOnDateSettingsService.GetAllRewardPointsOnDateSettings().ToList(); onDateSettings.ForEach(setting => _genericAttributeService.SaveAttribute(setting, "CustomersAwardedOnDate", string.Empty)); _blogService.GetAllComments().ToList().ForEach(comment => _genericAttributeService.SaveAttribute(comment, "CustomerAwardedForBlogComment", string.Empty, comment.StoreId)); _newsService.GetAllComments().ToList().ForEach(comment => _genericAttributeService.SaveAttribute(comment, "CustomerAwardedForNewsComment", string.Empty, comment.StoreId)); _productService.GetAllProductReviews(0, null).ToList().ForEach(review => _genericAttributeService.SaveAttribute(review, "CustomerAwardedForProductReview", string.Empty, review.StoreId)); _newsLetterSubscriptionService.GetAllNewsLetterSubscriptions().ToList().ForEach(subscription => _genericAttributeService.SaveAttribute(subscription, "CustomerAwardedForSubscription", string.Empty, subscription.StoreId)); _customerService.GetAllCustomers().ToList().ForEach(customer => _genericAttributeService.DeleteAttributes(_genericAttributeService.GetAttributesForEntity(customer.Id, "Customer") .Where(attribute => attribute.Key.Equals("PurchaseStartTime")).ToList())); //localized properties var localizedSettings = new[] { _settingService.GetSetting("RewardPointsForBlogCommentsSettings.Message"), _settingService.GetSetting("RewardPointsForFastPurchaseSettings.Message"), _settingService.GetSetting("RewardPointsForFirstPurchaseSettings.Message"), _settingService.GetSetting("RewardPointsForNewsCommentsSettings.Message"), _settingService.GetSetting("RewardPointsForNewsletterSubscriptionsSettings.Message"), _settingService.GetSetting("RewardPointsForProductReviewsSettings.Message") }.Where(setting => setting != null).ToList(); foreach (var language in _languageService.GetAllLanguages(true)) { localizedSettings.ForEach(setting => _localizedEntityService.SaveLocalizedValue(setting, x => x.Value, string.Empty, language.Id)); onDateSettings.ForEach(setting => _localizedEntityService.SaveLocalizedValue(setting, x => x.Message, string.Empty, language.Id)); } //database objects _objectContext.Uninstall(); //settings _settingService.DeleteSetting <RewardPointsForBlogCommentsSettings>(); _settingService.DeleteSetting <RewardPointsForFastPurchaseSettings>(); _settingService.DeleteSetting <RewardPointsForFirstPurchaseSettings>(); _settingService.DeleteSetting <RewardPointsForNewsCommentsSettings>(); _settingService.DeleteSetting <RewardPointsForNewsletterSubscriptionsSettings>(); _settingService.DeleteSetting <RewardPointsForProductReviewsSettings>(); _settingService.DeleteSetting <RewardPointsForRegistrationSettings>(); //scheduled task var task = _scheduleTaskService.GetTaskByType(EXTENDED_REWARD_POINTS_PROGRAM_TASK_TYPE); if (task != null) { _scheduleTaskService.DeleteTask(task); } //locales _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.ActivatePointsImmediately"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.ActivatePointsImmediately.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.ActivationDelay"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.ActivationDelay.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.IsEnabled"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.IsEnabled.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.Message"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.Message.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.Points"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.Fields.Points.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForBlogComments"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForBlogComments.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForFirstPurchase"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForFirstPurchase.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForFastPurchase"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForFastPurchase.Fields.Minutes"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForFastPurchase.Fields.Minutes.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForFastPurchase.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForNewsComments"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForNewsComments.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForNewsletterSubscriptions"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForNewsletterSubscriptions.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForProductReviews"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForProductReviews.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForRegistration"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.ForRegistration.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate.AddNew"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate.Edit"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate.Fields.AwardingDate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate.Fields.AwardingDate.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate.Fields.CustomerRole"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate.Fields.CustomerRole.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate.Fields.Store"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate.Fields.Store.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.ExtendedRewardPointsProgram.RewardPointsOnDate.Hint"); base.Uninstall(); }
/// <summary> /// Uninstall plugin /// </summary> public override void Uninstall() { _widgetSettings.ActiveWidgetSystemNames.Remove(FacebookPixelDefaults.SystemName); _settingService.SaveSetting(_widgetSettings); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.CookieSettingsWarning"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.CustomEvents"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.EventName"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.EventName.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.WidgetZones"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Fields.WidgetZones.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Search.WidgetZone"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.CustomEvents.Search.WidgetZone.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.DisableForUsersNotAcceptingCookieConsent"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.DisableForUsersNotAcceptingCookieConsent.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.Enabled"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.Enabled.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.PixelId"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.PixelId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.PixelId.Required"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.PassUserProperties"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.PassUserProperties.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.PassUserProperties.Forbidden"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.Store"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.Store.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackAddToCart"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackAddToCart.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackAddToWishlist"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackAddToWishlist.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackCompleteRegistration"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackCompleteRegistration.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackContact"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackContact.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackInitiateCheckout"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackInitiateCheckout.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackPageView"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackPageView.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackPurchase"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackPurchase.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackSearch"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackSearch.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackViewContent"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.TrackViewContent.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.UseAdvancedMatching"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.UseAdvancedMatching.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Fields.UseAdvancedMatching.Forbidden"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Search.Store"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.FacebookPixel.Configuration.Search.Store.Hint"); base.Uninstall(); }
public override void Uninstall() { _localizationService.DeletePluginLocaleResource("Plugin.Widgets.MyCustomPlugin.UseSandbox"); _localizationService.DeletePluginLocaleResource("Plugin.Widgets.MyCustomPlugin.Message"); base.Uninstall(); }
/// <summary> /// Uninstall the plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <SezzlePaymentSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.MerchantId"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.MerchantId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.PublicKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.PublicKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.PrivateKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.PrivateKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.MinCheckoutAmount"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.MinCheckoutAmount.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.RedirectionTip"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.UseSandbox"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Fields.UseSandbox.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.Instructions"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Sezzle.PaymentMethodDescription"); base.Uninstall(); }
/// <summary> /// Uninstall plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <TwoCheckoutPaymentSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.AccountNumber"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.AccountNumber.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.AdditionalFee"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.AdditionalFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.AdditionalFeePercentage"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.AdditionalFeePercentage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.PaymentMethodDescription"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.RedirectionTip"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.SecretWord"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.SecretWord.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.UseSandbox"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.2Checkout.UseSandbox.Hint"); base.Uninstall(); }
/// <summary> /// Uninstall plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <AuthorizeNetPaymentSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Notes"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.UseSandbox"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.UseSandbox.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.UseShippingAddressAsBilling"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.UseShippingAddressAsBilling.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.TransactModeValues"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.TransactModeValues.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.TransactionKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.TransactionKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.LoginId"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.LoginId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.AdditionalFee"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.AdditionalFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.AdditionalFeePercentage"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.Fields.AdditionalFeePercentage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.AuthorizeNet.PaymentMethodDescription"); base.Uninstall(); }
/// <summary> /// Uninstall the plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <PayPalExpressCheckoutPaymentSettings>(); // locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.AdditionalFee"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.AdditionalFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.AdditionalFeePercentage"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.AdditionalFeePercentage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.ApiSignature"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.ApiSignature.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.CartBorderColor"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.CartBorderColor.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.DoNotHaveBusinessAccount"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.DoNotHaveBusinessAccount.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.EmailAddress"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.EmailAddress.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.EnableDebugLogging"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.EnableDebugLogging.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.IsLive"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.IsLive.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.LocaleCode"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.LocaleCode.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.LogoImageURL"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.LogoImageURL.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.Password"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.Password.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.PaymentAction"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.PaymentAction.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.RequireConfirmedShippingAddress"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.RequireConfirmedShippingAddress.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.Username"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.Fields.Username.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayPalExpressCheckout.PaymentMethodDescription"); base.Uninstall(); }
public override void Uninstall() { //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.AccountID.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.AccountID"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.Key.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.Key"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.Publickey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.Publickey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.RedirectionTip"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.PayEpaycoUri"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.PayEpaycoUri.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.AdditionalFee"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.AdditionalFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.UseSandbox"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayEpayco.UseSandbox.Hint"); base.Uninstall(); }
/// <summary> /// Uninstall plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <UPSSettings>(); //locales _localizationService.DeletePluginLocaleResource("Enums.Nop.Plugin.Shipping.UPS.PackingType.PackByDimensions"); _localizationService.DeletePluginLocaleResource("Enums.Nop.Plugin.Shipping.UPS.PackingType.PackByOneItemPerPackage"); _localizationService.DeletePluginLocaleResource("Enums.Nop.Plugin.Shipping.UPS.PackingType.PackByVolume"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.AccessKey"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.AccessKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.AccountNumber"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.AccountNumber.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.AdditionalHandlingCharge"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.AdditionalHandlingCharge.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.AvailableCarrierServices"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.AvailableCarrierServices.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.CustomerClassification"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.CustomerClassification.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.InsurePackage"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.InsurePackage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PackagingType"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PackagingType.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PackingPackageVolume"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PackingPackageVolume.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PackingType"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PackingType.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PassDimensions"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PassDimensions.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.Password"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.Password.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PickupType"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.PickupType.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.SaturdayDeliveryEnabled"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.SaturdayDeliveryEnabled.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.Tracing"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.Tracing.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.Username"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.Username.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.UseSandbox"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Fields.UseSandbox.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Tracker.Arrived"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Tracker.Booked"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Tracker.Delivered"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Tracker.Departed"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Tracker.ExportScanned"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Tracker.NotDelivered"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Tracker.OriginScanned"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.UPS.Tracker.Pickup"); base.Uninstall(); }
/// <summary> /// Uninstall the plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <ClickatellSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.ApiId"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.ApiId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.Enabled"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.Enabled.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.Password"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.Password.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.PhoneNumber"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.PhoneNumber.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.TestMessage"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.TestMessage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.Username"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.Fields.Username.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.SendTest"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.SendTest.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.TestFailed"); _localizationService.DeletePluginLocaleResource("Plugins.Sms.Clickatell.TestSuccess"); base.Uninstall(); }
public override void Uninstall() { _settingService.DeleteSetting <NovellActiveDirectoryExternalAuthSettings>(); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LDAPPath"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LDAPPath.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LdapUsername"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LdapUsername.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LdapPassword"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LdapPassword.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LdapConnectError"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.UserNotFound"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.MailNotFound"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.WindowsUserNotAvailable"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.InstantLogin"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.InstantLogin.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LdapError"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.fields.LdapPath.Required"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.SearchBase"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.ContainerName"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.Domain"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.DomainDistinguishedName"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LdapServerPort"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.UseSSL"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.UseSSL"); _localizationService.DeletePluginLocaleResource("Plugins.ExternalAuth.NovellActiveDirectory.LdapPassword.Required"); base.Uninstall(); }
public override void Uninstall() { //settings _settingService.DeleteSetting <PayGatePaymentSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.RedirectionTip"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.TestMode"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.TestMode.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.PayGateID"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.PayGateID.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.EncryptionKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.EncryptionKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.EnableIpn"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.EnableIpn.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.EnableIpn.Hint2"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.EnableRedirect"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.EnableRedirect.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.EnableRedirect.Hint2"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.UseSSL"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.UseSSL.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Fields.UseSSL.Hint2"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayGate.Instructions"); base.Uninstall(); }
public override void Uninstall() { _settingService.DeleteSetting <OkPayPaymentSettings>(); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OkPay.Fields.OrderDescription"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OkPay.Fields.OrderDescription.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.RedirectionTip"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.WalletId"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.WalletId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.PassBillingInfo"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.PassBillingInfo.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.Fees"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.Fees.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.Fees.Item.Merchant"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.Fees.Item.Buyer"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.ReturnFromOkPayWithoutPaymentRedirectsToOrderDetailsPage"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.Fields.ReturnFromOkPayWithoutPaymentRedirectsToOrderDetailsPage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.OKPAY.PaymentMethodDescription"); base.Uninstall(); }
public override void Uninstall() { _settingService.DeleteSetting <CorreiosSettings>(); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.Url"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.Url.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.PostalCodeFrom"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.PostalCodeFrom.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.CompanyCode"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.CompanyCode.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.Password"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.Password.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.AddDaysForDelivery"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.AddDaysForDelivery.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.AvailableCarrierServices"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.AvailableCarrierServices.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.ServiceNameDefault"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.ServiceNameDefault.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.ShippingRateDefault"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.ShippingRateDefault.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.QtdDaysForDeliveryDefault"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.QtdDaysForDeliveryDefault.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.PercentageShippingFee"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Fields.PercentageShippingFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Message.NoShipmentItems"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Message.AddressNotSet"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Message.CountryNotSet"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Message.StateNotSet"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Message.PostalCodeNotSet"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Message.DeliveryUninformed"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.Correios.Message.InvalidValueDelivery"); base.Uninstall(); }
/// <summary> /// Uninstall plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <KuveytTurkPaymentSettings>(); //locales _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}CustomerId"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}CustomerId.Hint"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}MerchantId"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}MerchantId.Hint"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}UserName"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}UserName.Hint"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}Password"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}Password.Hint"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}PaymentMethodDescription"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}RedirectionTip"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}PaymentDone"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}KartiVerenBankayiAraLim"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}GecersizUyeIsyeri"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}KartaElKoyunuz"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}IslemOnaylanmadi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}VipIslemIcinOnayVerildi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}GecersizIslem"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}GecersizIslemTutari"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}GecersizKartNumarasi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}KartVerenBankaTanimsiz"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}VadeSonuGecmisKartaElKoy"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}SahtekarlikKartaelKoyunuz"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}KisitliKartKartaElKoyunuz"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}GuvenligiUyarinizKartaElKoyunuz"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}KayipKartKartaElKoy"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}CalintiKartKartaElKoy"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}BakiyesiKrediLimitiYetersiz"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}DovizHesabiBulunamasi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}VadeSonuGecmisKart"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}HataliKartSifresi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}KartTanimliDegil"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}IslemTipineIzinYok"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}IslemTipiTerminaleKapali"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}SahtekarlikSuphesi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}ParaCekmeTutarLimitiAsild"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}KisitlanmisKart"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}GuvenlikIhlali"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}ParaÇekmeAdetLimitiAsildi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}IslemiReddedinizGuvenligi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}BuHesaptaHicbirIslemYapila"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}TanimsizSube"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}SifreDenemeSayisiAsildi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}SifrelerUyusmuyorKey"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}SifreScriptTalebiReddedildi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}SifreGuvenilirBulanmadi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}ARQCKontroluBasarisiz"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}SifreDegisikligi/YuklemeOnay"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}IslemSupheliTamamlandiKontrol"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}EkKartIleBuIslemYapilmaz"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}GunSonuDevamEdiyor"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}KartiVerenBankaHizmetdisi"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}KartVerenBankaTanimliDegil"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}SistemArizali"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}IPAdresiTanimliDegildir"); _localizationService.DeletePluginLocaleResource($"{KuveytTurkDefaults.LocalizationStringStart}OtherError"); base.Uninstall(); }
/// <summary> /// Uninstall the plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <PayFastPaymentSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.AdditionalFee"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.AdditionalFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.AdditionalFeePercentage"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.AdditionalFeePercentage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.MerchantId"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.MerchantId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.MerchantKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.MerchantKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.UseSandbox"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.Fields.UseSandbox.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.RedirectionTip"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.PayFast.PaymentMethodDescription"); base.Uninstall(); }
public override void Uninstall() { //settings _settingService.DeleteSetting <IyzicoPaymentSettings>(); //locales #region locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.ApiKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.ApiKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.ApiKey.Required"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.SecretKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.SecretKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.SecretKey.Required"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.BaseUrl"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.BaseUrl.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.BaseUrl.Required"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.Fields.PaymentMethodDescription"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.CardHolderName"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.CardNumber"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ExpirationDate"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.CardCode"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Installment"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.EmptyInstalment"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.IyzicoMessage.MessageCode"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.IyzicoMessage.Message"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Admin.IyzicoMessage.Deleted"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Installments"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.InstallmentRequired"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.InstallmentNumber"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Price"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.TotalPrice"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Installment1"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Installment2"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Installment3"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Installment6"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Installment9"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Installment12"); #endregion //locales-error-messages-on-turkish #region locales-error-messages-on-turkish _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.8"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.12"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.15"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.17"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.5152"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.10005"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.10012"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.10051"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.10054"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.10057"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.10093"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.10215"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.ErrorMessage.10226"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Iyzico.Installment.Wrong"); #endregion base.Uninstall(); }
public override void Uninstall() { //settings _settingService.DeleteSetting <N11Settings>(); //schedule task var task = _scheduleTaskService.GetTaskByType("Nop.Plugin.Misc.N11.Services.SynchronizationTask"); if (task != null) { _scheduleTaskService.DeleteTask(task); } //locales #region locales _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.Title"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.ApiKey"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.ApiKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.SecretKey"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.SecretKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.ShipmentTemplate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.ShipmentTemplate.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.ApprovalStatus"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.ApprovalStatus.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.PreparingDay"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.PreparingDay.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.CurrencyType"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.CurrencyType.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.DefaultCategoryId"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.DefaultCategoryId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.CategoryIdMapping"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.CategoryIdMapping.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.DefaultBrandName"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.DefaultBrandName.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.BrandIdMapping"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Fields.BrandIdMapping.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.Categories.ExportToExcel.All"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.N11.Admin.CategoriesAttributes.ExportToExcel.All"); #endregion base.Uninstall(); }
public override void Uninstall() { //settings _settingService.DeleteSetting <BrainTreePaymentSettings>(); //database objects _objectContext.Uninstall(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Currency.Fields.CurrencyCode"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Currency.Fields.MerchantAccountId"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.AdditionalFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.AdditionalFee"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.AdditionalFeePercentage.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.AdditionalFeePercentage"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.MerchantId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.MerchantId"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.PrivateKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.PrivateKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.PublicKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.PublicKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.UseMultiCurrency.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.UseMultiCurrency"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.UseSandbox.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.Fields.UseSandbox"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.BrainTree.PaymentMethodDescription"); base.Uninstall(); }
/// <summary> /// Uninstall the plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <PaytmPaymentSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.RedirectionTip"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.MerchantId"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.MerchantId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.UseDefaultCallBack"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.UseDefaultCallBack.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.MerchantKey"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.MerchantKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.Website"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.Website.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.IndustryTypeId"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.IndustryTypeId.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.PaymentUrl"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.PaymentUrl.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.CallBackUrl"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.CallBackUrl.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.TxnStatusUrl"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.TxnStatusUrl.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Payments.Paytm.PaymentMethodDescription"); base.Uninstall(); }
public override void Uninstall() { _stripeConnectObjectContext.Uninstall(); _settingService.DeleteSetting <StripeConnectPaymentSettings>(); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.AccountNavStripeIntegration"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.Fields.LiveEnvironment"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.Fields.PublishableKey"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.Fields.SecretKey"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.Fields.ClientId"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.OnBoarding.Consent"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.OnBoarding.InvalidToken"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.OnBoarding.Success"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.OnBoarding.Fail"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.OnBoarding.LinkText"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.OnBoarding.AlreadyOnboarded"); _localizationservice.DeletePluginLocaleResource("Plugin.Payments.StripeConnect.PaymentInfo.PayWithCard"); base.Uninstall(); }
/// <summary> /// Uninstall the plugin /// </summary> public override void Uninstall() { //smtp accounts foreach (var store in _storeService.GetAllStores()) { var emailAccountId = _settingService.GetSettingByKey <int>("SendinBlueSettings.EmailAccountId", storeId: store.Id, loadSharedValueIfNotFound: true); var emailAccount = _emailAccountService.GetEmailAccountById(emailAccountId); if (emailAccount != null) { _emailAccountService.DeleteEmailAccount(emailAccount); } } //settings _settingService.DeleteSetting <SendinBlueSettings>(); //generic attributes foreach (var store in _storeService.GetAllStores()) { var messageTemplates = _messageTemplateService.GetAllMessageTemplates(store.Id); foreach (var messageTemplate in messageTemplates) { var genericAttributes = _genericAttributeService.GetAttributesForEntity(messageTemplate.Id, messageTemplate.GetUnproxiedEntityType().Name).ToList() .Where(w => w.Key.Equals(SendinBlueDefaults.TemplateIdAttribute) || w.Key.Equals(SendinBlueDefaults.SendinBlueTemplateAttribute)) .ToArray(); _genericAttributeService.DeleteAttributes(genericAttributes); } } //schedule task var task = _scheduleTaskService.GetTaskByType(SendinBlueDefaults.SynchronizationTask); if (task != null) { _scheduleTaskService.DeleteTask(task); } //locales _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.AccountInfo"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.AccountInfo.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.ActivateSMTP"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.AddNewSMSNotification"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.BillingAddressPhone"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.BillingAddressPhone"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.CustomerPhone"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.CustomerPhone"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.EditTemplate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.EditTemplate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.AllowedTokens"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.AllowedTokens.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.ApiKey"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.ApiKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.CampaignList"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.CampaignList.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.CampaignSenderName"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.CampaignSenderName.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.CampaignText"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.CampaignText.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.List"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.List.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.MaKey"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.MaKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.Sender"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.Sender.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.SmsSenderName"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.SmsSenderName.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.SmtpKey"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.SmtpKey.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.StoreOwnerPhoneNumber"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.StoreOwnerPhoneNumber.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.TrackingScript"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.TrackingScript.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.UseMarketingAutomation"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.UseMarketingAutomation.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.UseSmsNotifications"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.UseSmsNotifications.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.UseSmtp"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Fields.UseSmtp.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.General"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.ImportProcess"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.ManualSync"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.SyncNow"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.MarketingAutomation"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.MyPhone"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.MyPhone"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.PhoneType"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.SendinBlueTemplate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.SendinBlueTemplate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.SendinBlueTemplate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.SMS"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.SMS.Campaigns"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.SMS.Campaigns.Sent"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.SMS.Campaigns.Submit"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.SMSText"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.StandardTemplate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.StandardTemplate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.StandardTemplate"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Synchronization"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.TemplateType"); _localizationService.DeletePluginLocaleResource("Plugins.Misc.SendinBlue.Transactional"); base.Uninstall(); }
/// <summary> /// Uninstall the plugin /// </summary> public override void Uninstall() { //database objects _objectContext.Uninstall(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.AddNew"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.Description"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.Description.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.DisplayOrder"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.DisplayOrder.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.Name"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.Name.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.OpeningHours"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.OpeningHours.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.PickupFee"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.PickupFee.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.Store"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.Fields.Store.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Pickup.PickupInStore.NoPickupPoints"); base.Uninstall(); }
/// <summary> /// Uninstall plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <LiveChatIncSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.Version"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.Version.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.License"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.License.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.Login"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.Login.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.CartUpdateInterval"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.CartUpdateInterval.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.HideOnMobile"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.HideOnMobile.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.ChangeAccount"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.ResetSettings"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.UseOurWebApp"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.OrCheckOutApps"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.CheckOutApps"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.DesktopOrMobile"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.CurrentlyUsedAccount"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.LiveChatAccount"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.Or"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.Saving"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.CreateAccount"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.SuccessfullyAdded"); _localizationService.DeletePluginLocaleResource("Plugins.Widgets.LiveChatInc.SettingsReset"); base.Uninstall(); }
/// <summary> /// Uninstall plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <FixedByWeightByTotalSettings>(); //fixed rates var fixedRates = _shippingService.GetAllShippingMethods() .Select(shippingMethod => _settingService.GetSetting( string.Format(FixedByWeightByTotalDefaults.FixedRateSettingsKey, shippingMethod.Id))) .Where(setting => setting != null).ToList(); _settingService.DeleteSettings(fixedRates); //database objects _objectContext.Uninstall(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.AddRecord"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.AdditionalFixedCost"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.AdditionalFixedCost.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.Country"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.Country.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.DataHtml"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.LimitMethodsToCreated"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.LimitMethodsToCreated.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.LowerWeightLimit"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.LowerWeightLimit.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.OrderSubtotalFrom"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.OrderSubtotalFrom.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.OrderSubtotalTo"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.OrderSubtotalTo.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.PercentageRateOfSubtotal"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.PercentageRateOfSubtotal.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.Rate"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.RatePerWeightUnit"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.RatePerWeightUnit.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.ShippingMethod"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.ShippingMethod.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.StateProvince"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.StateProvince.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.Store"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.Store.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.Warehouse"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.Warehouse.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.WeightFrom"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.WeightFrom.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.WeightTo"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.WeightTo.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.Zip"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fields.Zip.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Fixed"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Formula"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.Formula.Value"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.FixedByWeightByTotal.ShippingByWeight"); base.Uninstall(); }
/// <summary> /// Uninstall plugin /// </summary> public override void Uninstall() { //settings _settingService.DeleteSetting <USPSSettings>(); //locales _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.Url"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.Url.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.Username"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.Username.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.Password"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.Password.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.AdditionalHandlingCharge"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.AdditionalHandlingCharge.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.AvailableCarrierServicesDomestic"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.AvailableCarrierServicesDomestic.Hint"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.AvailableCarrierServicesInternational"); _localizationService.DeletePluginLocaleResource("Plugins.Shipping.USPS.Fields.AvailableCarrierServicesInternational.Hint"); base.Uninstall(); }