EOD;
$content =
sprintf($content,
$paymentName,
$orderNumber,
$transactionNumber);
try { /** @var Enlight_Components_Mail $mail */
$mail =
$this->
get('mail'
);
$mail->
addTo($this->
get(\Shopware_Components_Config::
class)->
get('mail'
));
$mail->
setSubject('An invalid basket signature occured'
);
$mail->
setBodyHtml($content);
$mail->
setAssociation(LogEntryBuilder::ORDER_NUMBER_ASSOCIATION,
$orderNumber);
$mail->
send();
} catch (Exception
$e) { } /** @var \Shopware\Components\Logger $logger */
$logger =
$this->
get('corelogger'
);
$logger->
log('error',
$content);
}}