<?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: Transactions that fail AVS still have ResponseCode OK in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transactions-that-fail-AVS-still-have-ResponseCode-OK/m-p/55923#M30747</link>
    <description>&lt;P&gt;Hi Lilith,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're right - thanks ! .. however, as feedback from an integrator, the response is really weird to handle... I mean you have: &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) resultCode on the response.message.resultCode property&lt;/P&gt;&lt;P&gt;2) responseCode on the response.transactionResponse property&lt;/P&gt;&lt;P&gt;3) messages array on both response.message &amp;amp; response.transactionResponse&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) errors array on&amp;nbsp;response.transactionResponse&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is only for createTransactionRequest ... I don't know what I'd do if I had to do more complex tasks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a nightmare ! why can't there just be a single flag with ResponseCode &amp;amp; then a list of errors ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway. many thanks; have a great day!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 08 Oct 2016 08:33:25 GMT</pubDate>
    <dc:creator>andronachev2016</dc:creator>
    <dc:date>2016-10-08T08:33:25Z</dc:date>
    <item>
      <title>Transactions that fail AVS still have ResponseCode OK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transactions-that-fail-AVS-still-have-ResponseCode-OK/m-p/55879#M30707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we setup AVS rules, the transcations done via the API still&amp;nbsp;come with resultCode = OK, but the other transaction fields have the correct values:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transactionResponse.avsResultCode&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;transactionResponse.acvvResultCode&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And so, the developer&amp;nbsp;has to duplicate the rejecting logic... say you have a certain combination for rejection, set in the Authorize.Net dashboard, then we have to check in our code as well... because simply relying on the transaction resultCode, is not enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a setting or global field on the transcation Response object, that we can check to see it the transaction was &lt;STRONG&gt;overall&amp;nbsp;&lt;/STRONG&gt;rejected / failed ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this makes sense!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7546"&gt;@RichardH﻿&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 16:59:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transactions-that-fail-AVS-still-have-ResponseCode-OK/m-p/55879#M30707</guid>
      <dc:creator>andronachev2016</dc:creator>
      <dc:date>2016-09-29T16:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions that fail AVS still have ResponseCode OK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transactions-that-fail-AVS-still-have-ResponseCode-OK/m-p/55883#M30711</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/20518"&gt;@andronachev2016﻿&lt;/a&gt;&amp;nbsp;You don't mention which API call you use, but I'll presume you're using createTransactionRequest.&lt;BR /&gt;&lt;BR /&gt;The resultCode element indicates the status of the API call. It does not indicate anything regarding the transaction in question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The responseCode element under transactionResponse, in contrast, indicates the status of the transaction. &lt;BR /&gt;&lt;BR /&gt;A responseCode of 1 means the transaction was successful, while 2 indicates a decline (whether due to AVS, CVV, or card issuer refusal) and 3 indicates a transaction processing error. (If you use the Advanced Fraud Detection Suite and have any of its filters set up to hold transactions for review, you can expect a 4 when a transaction is held for review.)&lt;BR /&gt;&lt;BR /&gt;So to check for a successful transaction, you will want an resultCode of "Ok" and a responseCode of 1.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 18:14:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transactions-that-fail-AVS-still-have-ResponseCode-OK/m-p/55883#M30711</guid>
      <dc:creator>Lilith</dc:creator>
      <dc:date>2016-09-30T18:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions that fail AVS still have ResponseCode OK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transactions-that-fail-AVS-still-have-ResponseCode-OK/m-p/55923#M30747</link>
      <description>&lt;P&gt;Hi Lilith,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're right - thanks ! .. however, as feedback from an integrator, the response is really weird to handle... I mean you have: &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) resultCode on the response.message.resultCode property&lt;/P&gt;&lt;P&gt;2) responseCode on the response.transactionResponse property&lt;/P&gt;&lt;P&gt;3) messages array on both response.message &amp;amp; response.transactionResponse&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) errors array on&amp;nbsp;response.transactionResponse&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is only for createTransactionRequest ... I don't know what I'd do if I had to do more complex tasks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a nightmare ! why can't there just be a single flag with ResponseCode &amp;amp; then a list of errors ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway. many thanks; have a great day!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 08:33:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Transactions-that-fail-AVS-still-have-ResponseCode-OK/m-p/55923#M30747</guid>
      <dc:creator>andronachev2016</dc:creator>
      <dc:date>2016-10-08T08:33:25Z</dc:date>
    </item>
  </channel>
</rss>

