Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Transaction API GetTransactionDetails does not return Credit Card Number or Exp Date - Help!
โ05-19-2014 09:57 AM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

