php - Get expiration date using Customer Payment Profile Response -
in web site have implemented authorixe.net cim function. have created users details , deleted users account. want retrieve customer profile info. have send customer profile request , tried display credit card number , exp date renew payment process (for site objective). see code below
if ("ok" == $parsedresponse->messages->resultcode) { echo $parsedresponse->profile->paymentprofiles->payment->creditcard->cardnumber; echo $parsedresponse->profile->paymentprofiles->payment->creditcard->expirationdate; }
i got last 4 digits card number, , got result xxxx expiration date.
i need display date usual date (not xxxx format). how can expiration date?
that information masked , cannot retrieved via api. when creating profile either need store expiration date , or if using determine when card going expire, store notification date of when need start notifying them card expire.
Comments
Post a Comment