Support 19 Digit Card Numbers

Status: Accepted
by on ‎01-24-2017 06:30 AM - last edited on ‎02-13-2017 04:13 PM by Administrator Administrator

A customer on my site just attempted to place an order with a valid Discover card number that is 19 digits long. Apparently, Discover and Visa have begun rolling out valid cards with 19 digits. The card passed my Luhn algorithm validation and was passed to Authorize.NET for authorization. The XML request was sent succefully; however, I received the following error response from Authorize.NET:


The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:cardNumber' element is invalid - The value XXXXXXXXXXXXXXXXXXXXX is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.

I checked on the Authorize.NET documentation, and it appears that only card numbers between 13 and 16 characters long are supported. When will this be changed to accommodate 19 digit card numbers?

Status: Accepted

Converted community thread to an idea and changed to accepted.

by Administrator Administrator
on ‎01-25-2017 09:41 AM


I've reported your issue to the product team, but I can confirm that we do not yet accept 19 digit cards.

I'd recommend subscribing to this topic so that you'll be alerted via email if there are updates. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies to your post.



by Administrator Administrator
on ‎02-07-2017 08:42 AM



With your permission, I would like to move this thread to our Ideas forum.  This allows us to provide more accurate status updates and allow other developers to vote for it as well.


This was accepted by product development but a specific release date was not provided.



by Administrator Administrator
on ‎02-13-2017 04:13 PM
Status changed to: Accepted

Converted community thread to an idea and changed to accepted.

on ‎06-21-2018 11:34 AM

Any update on this? Chase Freedom started issuing cards with 19 digits and our customers are requesting to add support.


Could you also explain why this feature taking this long to develop?