Showing results for 
Search instead for 
Did you mean: Validation

Hello. I'm integrating "Accept Suite" API to place order. Is there a way to get clear error message for a customer if he entered and I sent invalid data, during creating payment transaction. Currently I'm getting message like -
"Payment: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:name' element is invalid - The value 'veryyyyyyyyy loooooongggggg nnnnnnnaaaaaaammmmmeeeeee' is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value."
Or may be there is a way how to pre-validate address data or other data that can be added to transaction?
There is solution to validate customer profile. But it doesn't work If I got data from a guest that doesn't have profile
Thank you.