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?
|
|
|
|
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. |
|
|
|
|
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.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close