public bool IsTrustedShopIdValid(ConfigurationModel model)
		{
			if (model.TrustedShopsId.IsNullOrEmpty())
				return false;

			if (model.IsTestMode)
			{
				var tsProtectionServiceSandbox = new TrustedShopsSeal.com.trustedshops.qa.TSProtectionService();
				var certStatus = new TrustedShopsSeal.com.trustedshops.qa.CertificateStatus();
				certStatus = tsProtectionServiceSandbox.checkCertificate(model.TrustedShopsId);

				return (certStatus.stateEnum == "TEST");
			}
			else
			{
				var tsProtectionServiceLive = new TrustedShopsSeal.com.trustedshops.www.TSProtectionService();
				var certStatus = new TrustedShopsSeal.com.trustedshops.www.CertificateStatus();
				certStatus = tsProtectionServiceLive.checkCertificate(model.TrustedShopsId);

				return (certStatus.stateEnum == "PRODUCTION");
			}
		}
        public bool IsTrustedShopIdValid(ConfigurationModel model)
        {
            if (model.TrustedShopsId.IsNullOrEmpty())
            {
                return(false);
            }

            if (model.IsTestMode)
            {
                var tsProtectionServiceSandbox = new TrustedShopsSeal.com.trustedshops.qa.TSProtectionService();
                var certStatus = new TrustedShopsSeal.com.trustedshops.qa.CertificateStatus();
                certStatus = tsProtectionServiceSandbox.checkCertificate(model.TrustedShopsId);

                return(certStatus.stateEnum == "TEST");
            }
            else
            {
                var tsProtectionServiceLive = new TrustedShopsSeal.com.trustedshops.www.TSProtectionService();
                var certStatus = new TrustedShopsSeal.com.trustedshops.www.CertificateStatus();
                certStatus = tsProtectionServiceLive.checkCertificate(model.TrustedShopsId);

                return(certStatus.stateEnum == "PRODUCTION");
            }
        }