How can I get the credit card detail in Magento from OnepageController.php
?
I have retrieved all the other information like billing information, shipping information and user details. I am using the following to get the card detail but it returns blank:
$lastQuoteId = $session->getLastQuoteId();
$lastOrderId = $session->getLastOrderId();
$order = Mage::getModel('sales/order')->load($lastOrderId);
$card_exp_month = $order->getCcExpMonth($lastOrderId);///(Nahi AAya)
$card_exp_year = $order->getCcExpYear($lastOrderId);///(Nahi AAya)
I $card_exp_month
baskı ve $card_exp_year
, her iki boş. Ben kredi kartı detay belirleyebilir hangi başka bir yolu var mı? Ben CC numarası, son yıl ve son ay arıyorum.