I am trying to get the creditcardNumber and expirationDate while calling getCustomerProfileRequest in the masked form (XXXXX411) .
I want to read the actual cardNumber or the unmasked form.
I am using response.profile.paymentProfiles(0).payment.Item.cardNumber.ToString()
//This is returning masked value.
Please advise.
Thanks in advance.
06-06-2019 02:38 PM
Hello @ankushverma61
It is never possible to obtain the full card number and expiration date from a customer profile. If you wish to process a transaction, you'll need to use the customer profile.
Richard
06-06-2019 05:32 PM
Can you please refer me to that callback function which just uses the customer Profile ID and customer pament profile ID to carry out transaction.
Thanks in advance.
06-07-2019 08:37 AM
Hello @ankushverma61
You need a payment transaction, specifically charing a customer profile: https://developer.authorize.net/api/reference/#payment-transactions-charge-a-customer-profile
Richard
06-07-2019 12:23 PM