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; }
protected function _construct() { parent::_construct(); $this->setTemplate('bcash/info.phtml'); }