title: Credit card detail in Magento
body: <p>How can I get the credit card detail in Magento from <code>OnepageController.php</code>?
  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:</p>
  
  <pre><code>$lastQuoteId = $session-&gt;getLastQuoteId();
  $lastOrderId = $session-&gt;getLastOrderId();
  $order  = Mage::getModel('sales/order')-&gt;load($lastOrderId);
  $card_exp_month     = $order-&gt;getCcExpMonth($lastOrderId);///(Nahi AAya)
  $card_exp_year      = $order-&gt;getCcExpYear($lastOrderId);///(Nahi AAya)
  </code></pre>
  
  <p>When I print <code>$card_exp_month</code> and <code>$card_exp_year</code>, both are blank. Is there another way by which I can determine the credit card detail? I'm looking for CC number, expiry year and expiry month.</p>