<?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 ARB failing due to no address in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARB-failing-due-to-no-address/m-p/51754#M27093</link>
    <description>&lt;P&gt;I used the PHP SDK to set up AIM and ARBs for our subscription service, which went into production 30 days ago and all was fine.. till now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now we find ALL of those ARBs are being declined since they have NO address..&lt;BR /&gt;"&lt;/P&gt;&lt;PRE&gt;TRANSACTION RESULTS 
Response       : The transaction has been declined because of an AVS mismatch. The address provided does not match billing address of cardholder.&lt;/PRE&gt;&lt;P&gt;"&lt;BR /&gt;The subscriptions show nothing but client name, so narturally the address does not macth.. THERE IS NO ADDRESS&lt;BR /&gt;&lt;BR /&gt;I use a single script to set up the initial charge (which works fine) and then if the intial charge was approved, do the ARB, which also "APPEARS" to work.. until it comes time to do the first actual ARB charge.. THEY ALL FAIL&lt;BR /&gt;&lt;BR /&gt;What do I need to add to my code to convey the address associated with the card ?&amp;nbsp;&amp;nbsp; What do they want if it isnt billToAddress ?&amp;nbsp; and better yet.. why do ALL the examples I can find lack this NON-OPTIONAL info? .. sorry.. very irritated&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;$subscription = new AuthorizeNet_Subscription;
$subscription-&amp;gt;name = $row['salescname'] ." #".$row['id'];
$subscription-&amp;gt;intervalLength = "1";
$subscription-&amp;gt;intervalUnit = "months";
$subscription-&amp;gt;startDate = $NextMonth;
$subscription-&amp;gt;totalOccurrences = "9999";
$subscription-&amp;gt;amount = $row['salesreoccuring'];
$subscription-&amp;gt;creditCardCardNumber =  trim(str_replace("-", "", $row['salescnumber']));
$subscription-&amp;gt;creditCardExpirationDate = $row['salesexpdate'];
$subscription-&amp;gt;creditCardCardCode = $row['salesvcnumb'];
$subscription-&amp;gt;billToFirstName = $first_name;
$subscription-&amp;gt;billToLastName = $last_name;
$subscription-&amp;gt;billToAddress = $row['salescaddress'];
$subscription-&amp;gt;billTocity = $row['salescccity'];
$subscription-&amp;gt;billTostate = $row['salesccstate'];
$subscription-&amp;gt;billTozip =  str_replace(" ", "", $row['salescczip']);&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2015 20:07:40 GMT</pubDate>
    <dc:creator>apex2014</dc:creator>
    <dc:date>2015-08-13T20:07:40Z</dc:date>
    <item>
      <title>ARB failing due to no address</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARB-failing-due-to-no-address/m-p/51754#M27093</link>
      <description>&lt;P&gt;I used the PHP SDK to set up AIM and ARBs for our subscription service, which went into production 30 days ago and all was fine.. till now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now we find ALL of those ARBs are being declined since they have NO address..&lt;BR /&gt;"&lt;/P&gt;&lt;PRE&gt;TRANSACTION RESULTS 
Response       : The transaction has been declined because of an AVS mismatch. The address provided does not match billing address of cardholder.&lt;/PRE&gt;&lt;P&gt;"&lt;BR /&gt;The subscriptions show nothing but client name, so narturally the address does not macth.. THERE IS NO ADDRESS&lt;BR /&gt;&lt;BR /&gt;I use a single script to set up the initial charge (which works fine) and then if the intial charge was approved, do the ARB, which also "APPEARS" to work.. until it comes time to do the first actual ARB charge.. THEY ALL FAIL&lt;BR /&gt;&lt;BR /&gt;What do I need to add to my code to convey the address associated with the card ?&amp;nbsp;&amp;nbsp; What do they want if it isnt billToAddress ?&amp;nbsp; and better yet.. why do ALL the examples I can find lack this NON-OPTIONAL info? .. sorry.. very irritated&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;$subscription = new AuthorizeNet_Subscription;
$subscription-&amp;gt;name = $row['salescname'] ." #".$row['id'];
$subscription-&amp;gt;intervalLength = "1";
$subscription-&amp;gt;intervalUnit = "months";
$subscription-&amp;gt;startDate = $NextMonth;
$subscription-&amp;gt;totalOccurrences = "9999";
$subscription-&amp;gt;amount = $row['salesreoccuring'];
$subscription-&amp;gt;creditCardCardNumber =  trim(str_replace("-", "", $row['salescnumber']));
$subscription-&amp;gt;creditCardExpirationDate = $row['salesexpdate'];
$subscription-&amp;gt;creditCardCardCode = $row['salesvcnumb'];
$subscription-&amp;gt;billToFirstName = $first_name;
$subscription-&amp;gt;billToLastName = $last_name;
$subscription-&amp;gt;billToAddress = $row['salescaddress'];
$subscription-&amp;gt;billTocity = $row['salescccity'];
$subscription-&amp;gt;billTostate = $row['salesccstate'];
$subscription-&amp;gt;billTozip =  str_replace(" ", "", $row['salescczip']);&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 20:07:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARB-failing-due-to-no-address/m-p/51754#M27093</guid>
      <dc:creator>apex2014</dc:creator>
      <dc:date>2015-08-13T20:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: ARB failing due to no address</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARB-failing-due-to-no-address/m-p/51756#M27095</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi &lt;SPAN class="UserName lia-user-name"&gt;&lt;A id="link_29" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/18516" target="_self"&gt;&lt;SPAN class=""&gt;apex2014&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code looks valid, I would like to check this for you but we will need specific details. If you can please contact Developer@Authorize.Net and provide us the Payment Gateway ID in question and sample subscription IDs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joy&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 20:54:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARB-failing-due-to-no-address/m-p/51756#M27095</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2015-08-13T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: ARB failing due to no address</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARB-failing-due-to-no-address/m-p/51758#M27097</link>
      <description>&lt;P&gt;Ok, I've done that. Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 21:08:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARB-failing-due-to-no-address/m-p/51758#M27097</guid>
      <dc:creator>apex2014</dc:creator>
      <dc:date>2015-08-13T21:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: ARB failing due to no address</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARB-failing-due-to-no-address/m-p/51780#M27110</link>
      <description>&lt;P&gt;Got a support response sugesting I do print_r($subscription)&amp;nbsp;&amp;nbsp; and "$subscription-&amp;gt;getXml()"&amp;nbsp; (which I didnt actually understand what was requested so didn't fo that).&lt;BR /&gt;&lt;BR /&gt;It appears all this grief was due to slightly different case on the subscriiption array indexes...&lt;BR /&gt;eg;&lt;BR /&gt;&amp;nbsp; [billTocity]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRONG&lt;BR /&gt;&amp;nbsp; [billToCity]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CORRECT..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Correcting the folowing to use the correct case seems to have fixed it.. but of course I won't actually know for 30 days&lt;BR /&gt;&lt;BR /&gt;$subscription-&amp;gt;billToAddress = $billtoaddress;&lt;BR /&gt;$subscription-&amp;gt;billToCity = $billtocity;&lt;BR /&gt;$subscription-&amp;gt;billToState = $billtostate;&lt;BR /&gt;$subscription-&amp;gt;billToZip =&amp;nbsp; $billtozip;&lt;BR /&gt;$subscription-&amp;gt;billToCountry = $country;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2015 17:04:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/ARB-failing-due-to-no-address/m-p/51780#M27110</guid>
      <dc:creator>apex2014</dc:creator>
      <dc:date>2015-08-17T17:04:45Z</dc:date>
    </item>
  </channel>
</rss>

