โ05-19-2014 09:57 AM
The Transaction Details API will never provide you the full credit card number of a transaction or the unmasked expiration date. It will always look something like this:
<creditCard> <cardNumber>XXXX8888</cardNumber> <expirationDate>XXXX</expirationDate> <cardType>Visa</cardType> </creditCard>
Richard
โ05-19-2014 10:08 AM
Hi, Can we unmask the detail like following?
$details=$authObj->getTransactionDetails(60116529057);
$creditCardExpdate = (creditCardMaskedType)$details->getTransaction()->getPayment()->getcreditCard()->getexpirationDate();
echo $creditCardExpdate;
exit;
Thanks in advance for assist.
Kalpesh
โ07-25-2019 04:53 AM