I want to show payment method of an order in My Orders customer page.
I have tried use echo $_order->getPaymentMethod()
, it gives NULL variable.
I also tried echo $block->getpaymentsCollection()->getTitle()
, it shows messy looks without error.
So, what is correct way to show payment method title of an order?