Hi,
I've been trying to get the name of payment method associated with the order in "FulfillmentModule_ProcessOrder" function. I tried with pay_data field, but when the order is made through some online method, It has much more information than I need except name, and when it is placed via some offline payment module, it has nothing in it.
Miva shows that name at plenty of places like emails, batch reports etc, so there must be some sure way around to get that information from order. Could anyone point me to the direction from where can I get that name ?
I am not after the details that were used to place the order, just looking to get the name of the method that was used.
I've been trying to get the name of payment method associated with the order in "FulfillmentModule_ProcessOrder" function. I tried with pay_data field, but when the order is made through some online method, It has much more information than I need except name, and when it is placed via some offline payment module, it has nothing in it.
Miva shows that name at plenty of places like emails, batch reports etc, so there must be some sure way around to get that information from order. Could anyone point me to the direction from where can I get that name ?
I am not after the details that were used to place the order, just looking to get the name of the method that was used.
Comment