Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Contributor
Posts: 11
Registered: ‎08-25-2014
Accepted Solution

Why do I get E00027:The credit card has expired for every card?

Yesterday the system was working fine, my code seemed to be working fine.  I haven't changed code, but now every card number we run comes back with:

E00027:The credit card has expired.

 

I'm testing the code using the SANDBOX account we have, using the Authorize.net test card info 4007xxxxxxxx7 (as well as other CC #'s) with a expiration date well into the future.  

So what gives?  This doesn't make any sense to me why it would seemingly just start returning that error message.


Accepted Solutions
Solution
Accepted by topic author wavebiddev
‎08-21-2015 01:58 AM
Contributor
Posts: 11
Registered: ‎08-25-2014

Re: Why do I get E00027:The credit card has expired for every card?

I'm using the ANET jar file in my java project - which formats and creates the xml for me.  Yes the date is in the right format but apparently using a year of 19 or 20 or 2019 or 2020 is too far in the future.  It all works fine if we just use 2015/15 or 2016/16

View solution in original post


All Replies
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Why do I get E00027:The credit card has expired for every card?

are you getting the same error if you create the transaction on the merchant account interface?

Contributor
Posts: 11
Registered: ‎08-25-2014

Re: Why do I get E00027:The credit card has expired for every card?

Actually I should clarify - We run an AUTH_CAPTURE AIM transaction and that works.  Then we run a CREATE_CUSTOMER_PAYMENT_PROFILE CIM transaction (with the exact same info) and that returns the E00027 Error message.

 

Contributor
Posts: 11
Registered: ‎08-25-2014

Re: Why do I get E00027:The credit card has expired for every card?

I just figured it out I think, the expiration date we were using was "well into the future" apparently too far in the future.  

1 - 2020 is apparently too far?!

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Why do I get E00027:The credit card has expired for every card?

CIM expirationDate

Value: The expiration date for the customer’s credit card

Format: YYYY-MM

 

AIM is MMYY, MM/YY,
MM-YY, MMYYYY, MM/
YYYY, MM-YYYY

 

 

are you using the right format?

 

Solution
Accepted by topic author wavebiddev
‎08-21-2015 01:58 AM
Contributor
Posts: 11
Registered: ‎08-25-2014

Re: Why do I get E00027:The credit card has expired for every card?

I'm using the ANET jar file in my java project - which formats and creates the xml for me.  Yes the date is in the right format but apparently using a year of 19 or 20 or 2019 or 2020 is too far in the future.  It all works fine if we just use 2015/15 or 2016/16