<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Billing address information is NOT being transferred for AVS check in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/13102#M7899</link>
    <description>&lt;P&gt;The reason it's in there (my guess) is for convenience - also if you pass in a naked NameValueCollection you don't know exactly what will be sent along. For instance - you can easily over-post the form (assuming you're using something like MVC) and basically allow a user to set bits of information you might not want set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2011 01:38:42 GMT</pubDate>
    <dc:creator>jimmypop</dc:creator>
    <dc:date>2011-05-25T01:38:42Z</dc:date>
    <item>
      <title>Billing address information is NOT being transferred for AVS check</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12286#M7545</link>
      <description>&lt;P&gt;On .Net using AIM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the AuthorizationRequest object which is being created by passing in the name/value pairs.&amp;nbsp; The result I get back from LIVE transactions is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The transaction has been declined because of an AVS mismatch.&amp;nbsp; The address provided does not match billing address of cardholder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I test this against the TEST mode, the transaction goes through, but doesn't show any address information.&amp;nbsp; Not sure if that is a bug in the testing system or what.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have confirmed that the address is EXACTLY like the billing address for the card.&amp;nbsp; However no joy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the PHP examples (here: &lt;A target="_blank" href="http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Handling-Online-Payments-Part-5-Processing-Payment-and-Handling/ba-p/10768)"&gt;http://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Handling-Online-Payments-Part-5-Processing-Payment-and-Handling/ba-p/10768)&lt;/A&gt; shows that the address fields do NOT have the "x_" prefix.&amp;nbsp; So, I tried that as well.&amp;nbsp; Same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I need to know two things:&lt;/P&gt;&lt;P&gt;1. Is it possible for the test mode to do a real AVS check; because it doesn't appear to do anything?&lt;/P&gt;&lt;P&gt;2. How can I get the test mode to actually show the address information that was passed in?&lt;/P&gt;&lt;P&gt;3. How can I fix this in live?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 01:04:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12286#M7545</guid>
      <dc:creator>clively</dc:creator>
      <dc:date>2011-04-26T01:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Billing address information is NOT being transferred for AVS check</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12298#M7551</link>
      <description>&lt;P&gt;If the billing information is not making it to the test system or live system then there is an error in your code somewhere. I can't say why it isn't working for you as I haven't seen your code nor do I know .NET but it definitely is a coding issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AVS is not actually performed in a test environment since real transactions are not actually performed. But you can control the output of AVS by sending over certain transaction information that will auto-trigger results from the test account. &lt;A href="http://community.developer.authorize.net/t5/Integration-and-Testing/Triggering-Specific-Transaction-Responses-Using-Test-Account/td-p/4361" target="_self"&gt;See this for more information on that&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 14:07:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12298#M7551</guid>
      <dc:creator>stymiee</dc:creator>
      <dc:date>2011-04-26T14:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Billing address information is NOT being transferred for AVS check</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12300#M7552</link>
      <description>&lt;P&gt;I doubt there's an error in my code, but I'm open to suggestions.&amp;nbsp; The main reason I doubt it is that the transaction itself goes through; it's just the address information isn't being stored.&amp;nbsp; Below is a code snippet as well as a copy of the data being sent:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;========================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NameValueCollection post_values = new NameValueCollection();&lt;/P&gt;&lt;P&gt;post_values.Add("x_login", charge.CommerceLogin);&lt;BR /&gt;post_values.Add("x_tran_key", charge.CommercePassword);&lt;BR /&gt;post_values.Add("x_version", "3.1");&lt;/P&gt;&lt;P&gt;post_values.Add("x_delim_data", "TRUE");&lt;BR /&gt;post_values.Add("x_delim_char", "|");&lt;BR /&gt;post_values.Add("x_relay_response", "FALSE");&lt;/P&gt;&lt;P&gt;post_values.Add("x_type", "AUTH_CAPTURE");&lt;BR /&gt;post_values.Add("x_method", "CC");&lt;BR /&gt;post_values.Add("x_card_num", charge.CardNumber);&lt;BR /&gt;post_values.Add("x_card_code", charge.CVV);&lt;BR /&gt;post_values.Add("x_exp_date", charge.ExpirationDate);&lt;/P&gt;&lt;P&gt;post_values.Add("x_amount", charge.ChargeAmount.ToString("0.00"));&lt;BR /&gt;post_values.Add("x_description", charge.CustomerReference);&lt;/P&gt;&lt;P&gt;post_values.Add("x_address", String.Format("{0} {1}", charge.Address1, charge.Address2).Trim());&lt;BR /&gt;post_values.Add("x_city", charge.City);&lt;BR /&gt;post_values.Add("x_state", charge.StateCode);&lt;BR /&gt;post_values.Add("x_zip", charge.ZipCode);&lt;BR /&gt;post_values.Add("x_phone", charge.Phone);&lt;BR /&gt;post_values.Add("x_email", charge.EmailAddress);&lt;BR /&gt;post_values.Add("x_customer_ip", charge.IPAddress);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// here, I iterate through the post_values collection to get the name value pairs that are being sent to Authorize.Net&lt;/P&gt;&lt;P&gt;String post_string = "";&lt;/P&gt;&lt;P&gt;foreach (String field in post_values.Keys) {&lt;/P&gt;&lt;P&gt;post_string += String.Format("{0}={1}&amp;amp;", field, post_values[field]);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;post_string = post_string.TrimEnd('&amp;amp;');&lt;/P&gt;&lt;P&gt;// log them.&lt;/P&gt;&lt;P&gt;Elmah.ErrorSignal.FromCurrentContext().Raise(new LogMessageException(post_string));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AuthorizationRequest request = new AuthorizationRequest(post_values);&lt;/P&gt;&lt;P&gt;Gateway gate = new Gateway(charge.CommerceLogin, charge.CommercePassword, true);&lt;BR /&gt;var response = gate.Send(request);&lt;/P&gt;&lt;P&gt;if (response.Approved) {&lt;BR /&gt;&amp;nbsp;// here it is approved&lt;BR /&gt;} else {&lt;BR /&gt;&amp;nbsp;// this would be a failure&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;========================&lt;/P&gt;&lt;P&gt;The following is output from the logging:&lt;/P&gt;&lt;P&gt;x_login=****REPLACED****&lt;BR /&gt;x_tran_key=****REPLACED****&lt;BR /&gt;x_version=3.1&lt;BR /&gt;x_delim_data=TRUE&lt;BR /&gt;x_delim_char=|&lt;BR /&gt;x_relay_response=FALSE&lt;BR /&gt;x_type=AUTH_CAPTURE&lt;BR /&gt;x_method=CC&lt;BR /&gt;x_card_num=****REPLACED****&lt;BR /&gt;x_card_code=****REPLACED****&lt;BR /&gt;x_exp_date=****REPLACED****&lt;BR /&gt;x_test_request=Y&lt;BR /&gt;x_amount=150.00&lt;BR /&gt;x_description=Courses for DV USD&lt;BR /&gt;x_address=111 main street&lt;BR /&gt;x_city=Addison&lt;BR /&gt;x_state=TX&lt;BR /&gt;x_zip=75001&lt;BR /&gt;x_phone=****REPLACED****&lt;BR /&gt;&lt;A target="_blank" rel="nofollow" href="mailto:x_email=chris@livelyconsulting.com"&gt;x_email=chris@livelyconsulting.com&lt;/A&gt;&lt;BR /&gt;x_customer_ip=72.48.207.78&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 16:34:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12300#M7552</guid>
      <dc:creator>clively</dc:creator>
      <dc:date>2011-04-26T16:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Billing address information is NOT being transferred for AVS check</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12312#M7557</link>
      <description>&lt;P&gt;I just switch from using the SDK to instead posting directly to the production Authorize.net url.&amp;nbsp; Zero other code changes; it worked.&amp;nbsp; And by Zero, I mean the post string is built the exact same way, with the exact same information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the SDK has an issue with passing address information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 17:20:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12312#M7557</guid>
      <dc:creator>clively</dc:creator>
      <dc:date>2011-04-26T17:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Billing address information is NOT being transferred for AVS check</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12316#M7558</link>
      <description>&lt;P&gt;I just figured this out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I opened the source for the C# SDK.&amp;nbsp; The AuthorizationRequest(NameValueCollection post) method ONLY supports the credit card number, expiration date, and amount.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It completely ignores ALL of the other fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which kind of brings up the question: why, exactly, does it take a nvc if it's not going to use anything but those three fields?&amp;nbsp; Rhetorical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2011 17:32:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/12316#M7558</guid>
      <dc:creator>clively</dc:creator>
      <dc:date>2011-04-26T17:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Billing address information is NOT being transferred for AVS check</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/13102#M7899</link>
      <description>&lt;P&gt;The reason it's in there (my guess) is for convenience - also if you pass in a naked NameValueCollection you don't know exactly what will be sent along. For instance - you can easily over-post the form (assuming you're using something like MVC) and basically allow a user to set bits of information you might not want set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2011 01:38:42 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Billing-address-information-is-NOT-being-transferred-for-AVS/m-p/13102#M7899</guid>
      <dc:creator>jimmypop</dc:creator>
      <dc:date>2011-05-25T01:38:42Z</dc:date>
    </item>
  </channel>
</rss>

