$connection,
$deLangId,
$this->
getPaymentOpenHTMLTemplateDe(),
$this->
getPaymentOpenPlainTemplateDe() );
$this->
updateMailTemplate( MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_TRANSACTION_STATE_PAID,
$connection,
$deLangId,
$this->
getPaymentPaidHTMLTemplateDe(),
$this->
getPaymentPaidPlainTemplateDe() );
$this->
updateMailTemplate( MailTemplateTypes::MAILTYPE_STATE_ENTER_ORDER_TRANSACTION_STATE_CANCELLED,
$connection,
$deLangId,
$this->
getPaymentCancelledHTMLTemplateDe(),
$this->
getPaymentCancelledPlainTemplateDe() );
$this->
updateMailTemplate(