Posts: 1
Registered: ‎08-22-2019

Accept.js getting an error E_WC_20

I'm getting an E_WC_20 error from Accept.js, but I can't find that error code listed in the documentation (


the error message says the cardNumber is invalid, but I validate the card Luhn before sending and it passes. 


what exactly is E_WC_20?


E_WC_20: 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.