diff --git a/src/Vendr.uSync/Serializers/PaymentMethodSeralizer.cs b/src/Vendr.uSync/Serializers/PaymentMethodSeralizer.cs index ace4040..1e7ab0d 100644 --- a/src/Vendr.uSync/Serializers/PaymentMethodSeralizer.cs +++ b/src/Vendr.uSync/Serializers/PaymentMethodSeralizer.cs @@ -137,6 +137,11 @@ private void DeserializeProviderSettings(XElement node, PaymentMethod item) foreach (var setting in root.Elements("Setting")) { var key = setting.Element("Key").ValueOrDefault(string.Empty); + + // don't do anything with settings that are in the ignore list. + if (StringExtensions.InvariantContains(_settingsAccessor.Settings.PaymentMethods.IgnoreSettings, key)) + continue; + if (!string.IsNullOrWhiteSpace(key)) { var value = setting.Element("Value").ValueOrDefault(string.Empty);