Thanks for the great gateway module. Just got this rejection error, it could be that Elavon changed the maximum field size, or its always been this way.

Here is the error:

[1409358201] => <?xml version="1.0" encoding="UTF-8"?>
5005Field Character Limit ExceededThe value for the Address1 (ssl_avs_address) field is too long. 30 characters (maximum) are allowed. Your entry contains 35 characters.<br>If you entered the value for this field, use the browser BACK button to return to the order form and modify the field value accordingly. Otherwise, contact Customer Service at <a href=mailto:internetproductsupport@merchantconnect.com>internetproductsupport@merchantconnect.com</a>.

It may be that this is working correctly and that the only 30 characters are allowed. User had entered 35.

Is this operating correctly?

What can I do to help.

Thanks in advance.

Comments

wuinfo - Bill Wu’s picture

First line of the address can not be more than 30 characters.

According to the document from Elavon.

ssl_avs_address N 30 Cardholder’s street address
ssl_address2 N 30 Customer's address line 2
ssl_city N 30 Customer's city
ssl_state N 30 Customer's state
ssl_avs_zip N 9 Customer's ZIP code used to process AVS
ssl_country N 50 Customer's country
ssl_phone N 20 Customer's phone number
ssl_email N 100 Customer's email address

ledbelly2142’s picture

The errors show up in the log messages, but end user does not see them. For example, when an end user enters more then 30 characters for the address, or more than 9 for a postal code, the end user receives two error messages on the payment page, one that says there are errors on the page, the other that says to hit the back button to change them.

The problem is that the error message does not tell the end user what specifically is wrong. The error information is in the gateway error, but there should be some additional instructions on the payment address page, e.g. do not exceed x characters and do not enable the continue button unless all info submitted follows Elavon character requirements. In addition, it would be nice to be able to inform the end user which error is happening from the gateway.

Example error from Gateway:

<?xml version="1.0" encoding="UTF-8"?>
5005Field Character Limit ExceededThe value for the Postal Code (ssl_avs_zip) field is too long. 9 characters (maximum) are allowed. Your entry contains 14 characters.<br>If you entered the value for this field, use the browser BACK button to return to the order form and modify the field value accordingly. Otherwise, contact Customer Service at <a href=mailto:internetproductsupport@merchantconnect.com>internetproductsupport@merchantconnect.com</a>.

  • b7f0b64 committed on 7.x-1.x
    #2330115 reduce the size of related field
    
wuinfo - Bill Wu’s picture

It is fixed, We only take first 30 chars of the address and first 9 chars of the zip code, etc. Upgrade to new release 7.x-1.3 for this.

wuinfo - Bill Wu’s picture

Version: 7.x-1.2 » 7.x-1.3
Status: Active » Fixed
ledbelly2142’s picture

Your Awesome! Please let me know what I can do to help.
-Greg

2ndmile’s picture

Thanks for fixing this.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.