Authorize.Net CIM and how AVS will work

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Authorize.Net CIM and how AVS will work

Post by AbleMods » Thu Mar 07, 2019 3:50 am

Gold R12 SR2

A client pointed this out to me recently. It doesn't appear the Authorize.Net CIM is sending bill-to address. Thus AVS never gets checked.

When I look at AuthNetCIMProvider.cs, I see two routines DoStandardAuthorize() and DoProfileAuthorize()

DoProfileAuthorize() is called when a stored profile is being used for the transaction. However nowhere in the DoProfileAuthorize() routine is the bill-to address populated before the request is sent to AuthNet.

The transaction object returned from the request will show an AVS response. However that response is mislabeled in Able Gold.

In Able Gold, response code "Partial Match (P)" is shown. However according to current AuthNet documentation, response code "P" is not a match at all - it's actually a response code representing AVS is "Not Applicable".
P = AVS not applicable for this transaction
This response code is returned when address information is not checked against the AVS system. Examples of this would be eCheck.Net® transactions, credits, voids, prior auth capture transactions, capture only transactions, declines and other transactions that do not include address checking.
https://support.authorize.net/s/article ... onse-Codes
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Authorize.Net CIM and how AVS will work

Post by jmestep » Tue Oct 13, 2020 11:34 am

I didn't run into an AVS error, but we have a client who is using Authnet CIM on a R11 site. When customers try to check out with a saved profile, they get the error that Bill To Address is required. I've checked and they have the latest version of the dll, according to your help site hot patches
If you can't/won't patch this, can you provide the source code to the gateway in R11 so we can patch it as Joe mentions?
Receive: <?xml version="1.0" encoding="utf-8"?><createCustomerProfileTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Error</resultCode><message><code>E00027</code><text>Bill To Address is required.</text></message></messages><directResponse>3,2,33,Bill To Address is required.,,P,0,63200,xxstore Order #63200,4.24,CC,auth_capture,8,Judy,Estep,,,,,,,,,jestep@web2market.com,,,,,,,,,0.00,0.00,0.00,,,,,,,,,,,,,,,,XXXX8792,Visa,,,,,,,,,,,,,,,,,</directResponse></createCustomerProfileTransactionResponse>

Thanks
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Authorize.Net CIM and how AVS will work

Post by AbleMods » Tue Oct 13, 2020 11:50 am

You can also disable the requirement for a bill to address. Not ideal but it should resolve the issue.

Log into the AuthNet merchant account. Find where you can setup the Payment Form in the account settings.

In there is a list of fields with check marks on the required fields. Uncheck Bill-to and save it.

Those field requirements are applied to both the AuthNet hosted payment form AND the CIM gateway. Weird, I know.

Let me know if you don’t find it and I’ll get you a screenshot.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply