src/ShopBundle/objects/db/TShopPaymentHandler/TShopPaymentHandlerDataTrans.class.php
protected function SendFailureSettlementMail(TdbShopOrder &$oOrder)
    {
        $bSendMail = false;
        $oMail = TdbDataMailProfile::GetProfile('payment_datatrans_error_settlement');
        if (!is_null($oMail)) {
            $sInfo = TGlobal::OutHTML(TGlobal::Translate('chameleon_system_shop.payment_data_trans.settlement_failure_mail_info',
                    array(
                        '%ordernumber%' => $oOrder->fieldOrdernumber,
                        '%ref%' => $this->GetRefNoParameter(false),
                    )
                ));
            $oMail->AddData('sInfo', $sInfo);
            $bSendMail = $oMail->SendUsingObjectView('emails', 'Customer');
        }

        return $bSendMail;
    }
protected function SendFailureSettlementMail(TdbShopOrder &$oOrder)
    {
        $bSendMail = false;
        $oMail = TdbDataMailProfile::GetProfile('payment_datatrans_error_settlement');
        if (!is_null($oMail)) {
            $sInfo = TGlobal::OutHTML(TGlobal::Translate('chameleon_system_shop.payment_data_trans.settlement_failure_mail_info',
                    array(
                        '%ordernumber%' => $oOrder->fieldOrdernumber,
                        '%ref%' => $this->GetRefNoParameter(false),
                    )
                ));
            $oMail->AddData('sInfo', $sInfo);
            $bSendMail = $oMail->SendUsingObjectView('emails', 'Customer');
        }

        return $bSendMail;
    }
protected function SendFailureSettlementMail ( TdbShopOrder & $ oOrder ) { $ bSendMail = false ; $ oMail = TdbDataMailProfile :: GetProfile ( 'payment_datatrans_error_settlement' ) ; if ( ! is_null ( $ oMail ) ) { $ sInfo = TGlobal :: OutHTML ( TGlobal :: Translate ( 'chameleon_system_shop.payment_data_trans.settlement_failure_mail_info' , array ( '%ordernumber%' => $ oOrder -> fieldOrdernumber , '%ref%' => $ this -> GetRefNoParameter ( false ) , ) ) ) ; $ oMail -> AddData ( 'sInfo' , $ sInfo ) ; $ bSendMail = $ oMail -> SendUsingObjectView ( 'emails' , 'Customer' ) ; } return $ bSendMail ; }
Sends email to shop owner to settle transaction manually.

@param TdbShopOrder $oOrder

@return bool
Sends email to shop owner to settle transaction manually .