Add company-name cross-check against VIES response

This commit is contained in:
2026-09-11 16:55:32 +02:00
parent 8b54b42991
commit 6f7362c42a
7 changed files with 125 additions and 9 deletions
+5 -1
View File
@@ -8,5 +8,9 @@ if (!defined('_PS_VERSION_')) {
function upgrade_module_1_0_3($module)
{
return Configuration::updateValue(Config::OFFLINE_MODE_CONFIG_KEY, Config::OFFLINE_MODE_DEFAULT);
if (!Configuration::updateValue(Config::OFFLINE_MODE_CONFIG_KEY, Config::OFFLINE_MODE_DEFAULT)) {
return false;
}
return Configuration::updateValue(Config::VALIDATE_COMPANY_CONFIG_KEY, Config::VALIDATE_COMPANY_DEFAULT);
}