<?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: AIM x_type issue when capture_only in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-x-type-issue-when-capture-only/m-p/49973#M25484</link>
    <description>&lt;P&gt;$response = $this-&amp;gt;authorizenet_aim-&amp;gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;authorizeAndCapture()&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There test that you can look at&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sdk-php/blob/master/tests/AuthorizeNetAIM_Test.php" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php/blob/master/tests/AuthorizeNetAIM_Test.php&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;you would want to use &lt;SPAN class="pl-s2"&gt;priorAuthCapture&lt;/SPAN&gt;.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;SPAN class="pl-s2"&gt;&lt;SPAN class="pl-s"&gt;public&lt;/SPAN&gt; &lt;SPAN class="pl-st"&gt;function&lt;/SPAN&gt; &lt;SPAN class="pl-en"&gt;testAuthCaptureVoid&lt;/SPAN&gt;()&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
    <pubDate>Fri, 13 Mar 2015 18:08:53 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2015-03-13T18:08:53Z</dc:date>
    <item>
      <title>AIM x_type issue when capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-x-type-issue-when-capture-only/m-p/49972#M25483</link>
      <description>&lt;P&gt;Maybe this is a dumb question but I really don't know what is the issue with this. I'm trying to capture a previuosly auth_only transaction with the respective auth_code, but in the response I'm always getting that the transaction is auth_capture, no matter what I set on the x_type field. I've already tested it with the sandbox and live credentials.&amp;nbsp;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;This is the code&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;$fields = array(&lt;BR /&gt;'type' =&amp;gt; 'CAPTURE_ONLY',&lt;BR /&gt;'auth_code' =&amp;gt; '9JZRI3'&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;$this-&amp;gt;authorizenet_aim-&amp;gt;setFields($fields);&lt;/P&gt;&lt;P&gt;var_dump($this-&amp;gt;authorizenet_aim);&lt;BR /&gt;$response = $this-&amp;gt;authorizenet_aim-&amp;gt;authorizeAndCapture();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;printing the aim object&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;["_x_post_fields":protected]=&amp;gt;
  array(7) {
    ["version"]=&amp;gt;
    string(3) "3.1"
    ["delim_char"]=&amp;gt;
    string(1) ","
    ["delim_data"]=&amp;gt;
    string(4) "TRUE"
    ["relay_response"]=&amp;gt;
    string(5) "FALSE"
    ["encap_char"]=&amp;gt;
    string(1) "|"
    ["type"]=&amp;gt;
    string(12) "CAPTURE_ONLY"
    ["auth_code"]=&amp;gt;
    string(6) "9JZRI3"
  }&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;this is the response, then it throws a "credit card is required" error.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;  ["transaction_type"]=&amp;gt;
  string(12) "auth_capture"&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Mar 2015 17:23:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-x-type-issue-when-capture-only/m-p/49972#M25483</guid>
      <dc:creator>idlikesometea</dc:creator>
      <dc:date>2015-03-13T17:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: AIM x_type issue when capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-x-type-issue-when-capture-only/m-p/49973#M25484</link>
      <description>&lt;P&gt;$response = $this-&amp;gt;authorizenet_aim-&amp;gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;authorizeAndCapture()&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There test that you can look at&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sdk-php/blob/master/tests/AuthorizeNetAIM_Test.php" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php/blob/master/tests/AuthorizeNetAIM_Test.php&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;you would want to use &lt;SPAN class="pl-s2"&gt;priorAuthCapture&lt;/SPAN&gt;.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;SPAN class="pl-s2"&gt;&lt;SPAN class="pl-s"&gt;public&lt;/SPAN&gt; &lt;SPAN class="pl-st"&gt;function&lt;/SPAN&gt; &lt;SPAN class="pl-en"&gt;testAuthCaptureVoid&lt;/SPAN&gt;()&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 13 Mar 2015 18:08:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-x-type-issue-when-capture-only/m-p/49973#M25484</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-03-13T18:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: AIM x_type issue when capture_only</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-x-type-issue-when-capture-only/m-p/49974#M25485</link>
      <description>&lt;P&gt;I knew it was something silly, thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 18:05:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AIM-x-type-issue-when-capture-only/m-p/49974#M25485</guid>
      <dc:creator>idlikesometea</dc:creator>
      <dc:date>2015-03-13T18:05:29Z</dc:date>
    </item>
  </channel>
</rss>

