getInfo()->getMethod())) { return parent::getCcTypeName(); } } /** * Prepare PayPal-specific payment information * * @param Varien_Object|array $transport * return Varien_Object */ protected function _prepareSpecificInformation($transport = null) { $transport = parent::_prepareSpecificInformation($transport); $payment = $this->getInfo(); $paypalInfo = Mage::getModel('paypal/info'); if (!$this->getIsSecureMode()) { $info = $paypalInfo->getPaymentInfo($payment, true); } else { $info = $paypalInfo->getPublicPaymentInfo($payment, true); } return $transport->addData($info); } }