cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Customer Profile with expired credit card was authorized.

Hi

We're testing Customer Payment Profiles. We are in the sandbox only at the moment. We created a profile last month with an expiration date of 09/23. We were able to use that profile today (10/02/23) to get an authorization and to collect payment. Is this to be expected? Seems like the authorization should have failed.

Thanks much

--Vinny Myles

vmyles
Member
6 REPLIES 6

Vinny,

I have also experienced some things working differently in Sandbox than how they should in production. This may be one of them. A phone call to the developer support people may directly answer that question.

HTH

David

marine2026
Trusted Contributor

Were you able to get this resolved? 

I am having the same behavior now with Production mode/Live Mode. Filed another request since there was no recent activity here - https://community.developer.cybersource.com/t5/Integration-and-Testing/Auth-only-transaction-succeed...

rockyr1
Member

We never heard anything back. We are checking the expiration dates on the profiles before doing any submissions.

Thanks for responding. How are you checking the expiration date ? Do you store the expiry date in your database. GetCustomerPaymentProfileController https://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-payment-prof... responds with masked expiry date like XXXX. 

rockyr1
Member

We are using the following code in the call to retrieve a payment profile and getting back an unmasked expiration date.

var request = new getCustomerPaymentProfileRequest();
request.customerProfileId = customerProfileId;
request.customerPaymentProfileId = customerPaymentProfileId;

// Set this optional property to true to return an unmasked expiration date
request.unmaskExpirationDateSpecified = true;
request.unmaskExpirationDate = true;

Thank you!