I am using paypal in payment method but it seems that the IPN transaction ID is displaying to admin panel Comment History, is there a way to customize the Comment History to blank instead of notification of transaction ID from paypal?

1 Answer 1


Please find below function in this model class Mage_Sales_Model_Order_Payment line no 1379 and override this model in local pool.

 protected function _appendTransactionToMessage($transaction, $message)
    if ($transaction) {
        $txnId = is_object($transaction) ? $transaction->getHtmlTxnId() : $transaction;
        $message .= ' ' . Mage::helper('sales')->__('Transaction ID: "%s".', $txnId);
    return $message;

And replace your message with this function $message variable.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.