$shop =
$modelManager->
getRepository(Shop::
class)->
getActiveById($notify['language'
]);
// Continue if shop is inactive or deleted
if ($shop === null
) { continue;
} $this->
get(ShopRegistrationServiceInterface::
class)->
registerShop($shop);
$shopContext = Context::
createFromShop($shop,
$this->
get(Shopware_Components_Config::
class));
$this->
get(RouterInterface::
class)->
setContext($shopContext);
$sContext =
$this->
get(ContextServiceInterface::
class)->
createShopContext($notify['language'
]);
$productInformation =
$this->
get(ListProductServiceInterface::
class)->
get($notify['ordernumber'
],
$sContext);
if (empty($productInformation)) { continue;
} $productInformation =
$this->
get('legacy_struct_converter'
)->
convertListProductStruct($productInformation);
$link =
Shopware()->
Front()->
ensureRouter()->
assemble([ 'sViewport' => 'detail',