In this quick tip we will see how how we can get Payment Method name using the Magento Order ID.
This will be very useful when you dealing with creating your own extension. Here article title is self explanatory that we are trying to accomplish, so without wasting time let’s look at the code block.
$order_id = '00000001';
$payment_method = $order->getPayment()->getMethodInstance()->getTitle();
This is so easy, isn’t it? Do you have any better method than above to get Payment Method name from Order ID in Magento.