I am using Authorize.net payment gateway in my magento based shopping cart. It is Authorize Only, which means I first authorize the card, an after shipping product to customer I captures the amount.
Authorize paygate stores information like cc_exp_month, cc_exp_year inside “additional_information” field in table sales_flat_order_payment in serialize form.
Is there any method in magento to simply retrieve these values (cc_exp_month, cc_exp_year) from additional_information column?
I believe the next 2 lines will do the trick:
Of course $order is instance of Mage_Sales_Model_Order.
For reference you also can check: how to get payment information on Magento?