<?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: Cannot access response reason code in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47265#M23868</link>
    <description>&lt;P&gt;But the transaction itself with that transactionID was approved. It just don't let you capture it again,&lt;/P&gt;&lt;P&gt;The only way is to test both response code and response reason code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;response.GetValue&lt;/SPAN&gt;("&lt;SPAN&gt;response&lt;/SPAN&gt;_reason_&lt;SPAN&gt;code&lt;/SPAN&gt;");&lt;/P&gt;</description>
    <pubDate>Thu, 18 Sep 2014 11:23:25 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2014-09-18T11:23:25Z</dc:date>
    <item>
      <title>Cannot access response reason code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47221#M23847</link>
      <description>&lt;P&gt;I'm using CNP AIM in my project and installed Autorize.Net package from package manager console.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i try to capture an already captured prior auth transaction. Response is "the order already have been captured" and result code is 1 , that mean transaction is approved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i dont want that. In my system this transactions is not successful, so i want to check response reason code, but GetawayResponse do not have Response Reason Code property.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can i do now?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2014 08:57:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47221#M23847</guid>
      <dc:creator>elevres</dc:creator>
      <dc:date>2014-09-17T08:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access response reason code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47225#M23849</link>
      <description>&lt;P&gt;What do you mean it do not have response reason code property? blank? 1?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2014 11:11:35 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47225#M23849</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-09-17T11:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access response reason code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47229#M23851</link>
      <description>&lt;P&gt;For example in my code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;apiRequest = new PriorAuthCaptureRequest(Convert.ToDecimal(pAmount), pTransactionID);

var response = gate.Send(apiRequest);

var ReturnCode = response.ResponseCode;
var ReturnReasonCode = response.ResponseReasonCode;

&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;there is no property ResponseReasonCode for response object. How can i access response reason code ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2014 11:16:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47229#M23851</guid>
      <dc:creator>elevres</dc:creator>
      <dc:date>2014-09-17T11:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access response reason code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47231#M23852</link>
      <description>&lt;P&gt;.net SDKs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://github.com/AuthorizeNet/sdk-dotnet/blob/master/Authorize.NET/AIM/Responses/SIMResponse.cs"&gt;https://github.com/AuthorizeNet/sdk-dotnet/blob/master/Authorize.NET/AIM/Responses/SIMResponse.cs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;look like there Message property. Or try debug and see what in response&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2014 12:24:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47231#M23852</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-09-17T12:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access response reason code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47261#M23866</link>
      <description>&lt;P&gt;Yes, I'm using .net sdk .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want tıo control response over response reason code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is response code = 1 and response reason code = 1 , i will return successful payment&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if response code = 1 and response reason code != 1 then i will return unsuccessfull payment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i cannot control this on response code because for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;response code = 1 and response reason code = 310 &amp;gt;&amp;gt; means the transcation is alreaduy have been captured&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i look response code it equals to 1 , for authorize.net&amp;nbsp;it means successful trasnaction, bur my system it is not a successfull transaction.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if cannot tell my problem properly&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 07:22:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47261#M23866</guid>
      <dc:creator>elevres</dc:creator>
      <dc:date>2014-09-18T07:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access response reason code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47265#M23868</link>
      <description>&lt;P&gt;But the transaction itself with that transactionID was approved. It just don't let you capture it again,&lt;/P&gt;&lt;P&gt;The only way is to test both response code and response reason code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;response.GetValue&lt;/SPAN&gt;("&lt;SPAN&gt;response&lt;/SPAN&gt;_reason_&lt;SPAN&gt;code&lt;/SPAN&gt;");&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 11:23:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47265#M23868</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-09-18T11:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot access response reason code</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47365#M23917</link>
      <description>&lt;P&gt;SIMResponse has GetValue function , but GatewayResponse does not. So ı guess i should get response reason code like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;string response_reason_code = ((GatewayResponse)response).GetValueByIndex(3);&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2014 14:37:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Cannot-access-response-reason-code/m-p/47365#M23917</guid>
      <dc:creator>elevres</dc:creator>
      <dc:date>2014-09-19T14:37:02Z</dc:date>
    </item>
  </channel>
</rss>

