if (!
$this->
isPluginsSubscriptionCookieValid($request)) { return false;
} try { $cookie =
new Cookie('lastCheckSubscriptionDate',
date('dmY'
),
time() + 60 * 60 * 24, '/', null,
$request->
isSecure());
$response->headers->
setCookie($cookie);
return $this->
getPluginInformationFromApi();
} catch (ShopSecretException
$e) { $this->exception =
$e;
$this->
resetShopSecret();
return false;
} catch (Exception
$e) { $this->exception =
$e;
return false;
} } /**
* Requests the plugin information from the store API and returns the parsed result.
*
* @return PluginInformationResultStruct
*/