Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
When the company name contains an ampersand (&), the shopper cannot process payment using a stored card profile. AuthNet responds: Quote:Extra Options is invalid. E00013 See this support post for why and solution: https://community.develo...invalid-error/td-p/57955All address-related fields should have symbols escaped or stripped (&, %, $, # etc) before communicating with AuthNet CIM API.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Thanks for pointing this out.
I am going to register this as a bug.
|
1 user thanked shaharyar for this useful post.
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Is there a fix for this you could post here? We've been seeing this problem more often lately.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
To fix: 1- Open file AuthorizeNetCIM/AuthNetCIMProvider.cs 2- Search for Code:fields.Add(string.Format("{0}={1}", "x_firstName", address.firstName));
fields.Add(string.Format("{0}={1}", "x_lastName", address.lastName));
fields.Add(string.Format("{0}={1}", "x_company", address.company));
fields.Add(string.Format("{0}={1}", "x_address", address.address));
fields.Add(string.Format("{0}={1}", "x_city", address.city));
3- Replace with Code:fields.Add(string.Format("{0}={1}", "x_firstName", HttpUtility.UrlEncode(address.firstName)));
fields.Add(string.Format("{0}={1}", "x_lastName", HttpUtility.UrlEncode(address.lastName)));
fields.Add(string.Format("{0}={1}", "x_company", HttpUtility.UrlEncode(address.company)));
fields.Add(string.Format("{0}={1}", "x_address", HttpUtility.UrlEncode(address.address)));
fields.Add(string.Format("{0}={1}", "x_city", HttpUtility.UrlEncode(address.city)));
4- Prepare the zip for plugin and update in Website/Plugins folder
|
1 user thanked shaharyar for this useful post.
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
You are my hero. Thank you!
|
|
|
|
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