logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
IDAutomation  
#1 Posted : Monday, April 6, 2020 8:34:24 AM(UTC)
IDAutomation

Rank: Member

Groups: Authorized User, Developers
Joined: 11/13/2018(UTC)
Posts: 23

Thanks: 16 times
Was thanked: 1 time(s) in 1 post(s)
We have had a couple of customers that have received an error on their address being too long:

There was a problem processing your payment: The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:address' element is invalid - The value XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.

While the customer can break apart the address, it delays the ability for the customer to purchase if we aren't available at the time they are placing the order to ask them to make that change. How can we increase that "MaxLength" value?

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Naveed Ashraf  
#2 Posted : Tuesday, April 7, 2020 7:34:41 AM(UTC)
Naveed Ashraf

Rank: Advanced Member

Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User
Joined: 7/31/2019(UTC)
Posts: 77

Was thanked: 8 time(s) in 8 post(s)
Hi,

The Authorize.net define max length as 60 characters for address field (shipping or billing). For AbleCommerce we allow 255 characters for billing and shipping Address1 fields. Which is creating this issue.

A work around for this situation is to add some instructions for Address1 field on your address view files, ans warn users to not use more then 60 characters in address1 if they are planning to use the Authorize.net payment methods. (you know which payment methods are assigned to Authorize.net for example VISA, Master Card etc.)

I am going to log an issue to figure out a proper fix for this.

Thanks for reporting.
Thanks for your support!
Naveed Ashraf
Ablecommerce.com
Developer Assistance Available
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.