$licenseData =
$this->
getLicenseData($licenseKeys);
if (empty($licenseData)) { return [ 'type' => self::CHECK_TYPE,
'errorLevel' => Validation::REQUIREMENT_VALID,
'message' =>
$this->namespace->
get('controller/check_license_nolicense'
),
];
} $url =
$this->endpoint . '/licenseupgrades/permission';
$client =
new Zend_Http_Client( $url,
[ 'timeout' => 15,
] );
foreach ($licenseData as $licenseDatum) { $client->
setParameterPost('domain',
$licenseDatum['host'
]);
$client->
setParameterPost('licenseKey',
$licenseDatum['license'
]);
$client->
setParameterPost('version',
$this->shopwareVersion
);