After complete Magento payment process, a order success confirmation page appear with the order number. The order success page used to show same success message for all kind of payment . For example if you pay through credit card, cash on delivery or cheque or money order the order success page used to show the same message.
In many cases we need to show different payment success message on magento. So here is the solutions to show different message :
You need to edit the success.phtml page .
Now you need to find “<div class=”button-set”>” on your success.phtml page and put the below code above “<div class=”button-set”>”
// Get the id of the order just made.
$order = Mage::getModel(‘sales/order’)->loadByIncrementId($this->getOrderId());
// If the order was paid for by Check or Money Order, display the custom message
if ($order->getPayment()->getMethod() == “checkmo”)
Here “checkmo”, is the code for the Check / Money Order method.
In next step you need to create a Static Block named with Identifier ‘success_msg’ . In that particular block write down the success message and it will appear on Magento payment success page .