Exemplo n.º 1
0
 protected function _prepareSpecificInformation($transport = null)
 {
     $transport = parent::_prepareSpecificInformation();
     $info = $this->getInfo();
     // Add OpenPay Specific information in case user selected this payment method
     if ($info->getMethod() == Mage::getModel('Openpay_Charges_Model_Method_Openpay')->getCode()) {
         if (!$this->getIsSecureMode()) {
             $transport->addData(array(Mage::helper('payment')->__('Openpay Confirmation Number') => $info->getOpenpayAuthorization(), Mage::helper('payment')->__('Openpay Creation Date') => $info->getOpenpayCreationDate()));
         }
     }
     return $transport;
 }
Exemplo n.º 2
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('bcash/info.phtml');
 }