Posted on

How to get the selected payment method when the “sales_order_save_after” event is fired?

i’m developing an observable that listen to the sales_order_save_after event. I have the order information executing $observer->getEvent()->getOrder() but i cannot get the payment method selected (cash on delivery or check/money order, etc). I did try with $order->getPayment()->getMethod() but this works only when the order alredy has ben payed. (And i need to know what payment method was selected when the order was placed). Thanx in advance

Leave a Reply

Your email address will not be published. Required fields are marked *