<?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: Problems using Void Transaction with AIM in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-using-Void-Transaction-with-AIM/m-p/26722#M14183</link>
    <description>&lt;P&gt;Got moved around on projects for awhile...now I'm back onto this.&amp;nbsp; Sorry for the huge gap in replies.&lt;BR /&gt;&lt;BR /&gt;Here is what I get in return from the request: Resource id #2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual response I get back is this:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;HTML&amp;gt;&amp;lt;BODY&amp;gt;&amp;lt;H3&amp;gt;The following errors have occurred.&amp;lt;/H3&amp;gt;(13) The merchant login ID or password is invalid or the account is inactive.&amp;lt;BR&amp;gt;&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I am using the following url: &lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And I am indeed using my test account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I still have two problems...One is that I cannot seem to properly void a transaction and the other is that authorize.net is returning html as a response instead of an array format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to be able to get authorize.net to return&amp;nbsp; delimited result from any request I make.&amp;nbsp; Is this not possible?&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2012 18:40:19 GMT</pubDate>
    <dc:creator>sterling</dc:creator>
    <dc:date>2012-05-24T18:40:19Z</dc:date>
    <item>
      <title>Problems using Void Transaction with AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-using-Void-Transaction-with-AIM/m-p/26011#M13849</link>
      <description>&lt;P&gt;I seem to be having some issues with using the void transaction method.&amp;nbsp; It does not seem to be working while in test mode (gives me error 13) and it is also returning the response as html rather than delimited data.&amp;nbsp; Here is what I am using in the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$data = array(
   "x_login"            =&amp;gt; $auth_login,
   "x_tran_key"         =&amp;gt; $auth_key,
   
   "x_version"          =&amp;gt; "3.1",
   "x_delim_data"       =&amp;gt; "TRUE",
   "x_delim_char"       =&amp;gt; "|",
   "x_relay_response"   =&amp;gt; "FALSE",
   
   "x_type"             =&amp;gt; "VOID",
   "x_trans_id"         =&amp;gt; $response_array[6],
   "x_test_request"     =&amp;gt; TRUE
);

$request = curl_init($post_url);
   curl_setopt($request, CURLOPT_HEADER, 0);
   curl_setopt($request, CURLOPT_RETURNTRANSFER, 1);
   curl_setopt($request, CURLOPT_POSTFIELDS, $data);
   curl_setopt($request, CURLOPT_SSL_VERIFYPEER, FALSE);
   $post_response = curl_exec($request);
curl_close ($request);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do to get this to stop giving me the error 13 and to also return the data like my other requests with a delimeter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 13:12:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-using-Void-Transaction-with-AIM/m-p/26011#M13849</guid>
      <dc:creator>sterling</dc:creator>
      <dc:date>2012-04-26T13:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using Void Transaction with AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-using-Void-Transaction-with-AIM/m-p/26031#M13859</link>
      <description>&lt;P&gt;Echo the $request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And make sure if you are using test account the url should be test.authorize.net&lt;/P&gt;&lt;P&gt;and Production account to secure.authorize.net&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 20:50:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-using-Void-Transaction-with-AIM/m-p/26031#M13859</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-04-26T20:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using Void Transaction with AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-using-Void-Transaction-with-AIM/m-p/26722#M14183</link>
      <description>&lt;P&gt;Got moved around on projects for awhile...now I'm back onto this.&amp;nbsp; Sorry for the huge gap in replies.&lt;BR /&gt;&lt;BR /&gt;Here is what I get in return from the request: Resource id #2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual response I get back is this:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;HTML&amp;gt;&amp;lt;BODY&amp;gt;&amp;lt;H3&amp;gt;The following errors have occurred.&amp;lt;/H3&amp;gt;(13) The merchant login ID or password is invalid or the account is inactive.&amp;lt;BR&amp;gt;&amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;&lt;BR /&gt;&lt;BR /&gt;I am using the following url: &lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And I am indeed using my test account.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I still have two problems...One is that I cannot seem to properly void a transaction and the other is that authorize.net is returning html as a response instead of an array format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to be able to get authorize.net to return&amp;nbsp; delimited result from any request I make.&amp;nbsp; Is this not possible?&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 18:40:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-using-Void-Transaction-with-AIM/m-p/26722#M14183</guid>
      <dc:creator>sterling</dc:creator>
      <dc:date>2012-05-24T18:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problems using Void Transaction with AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-using-Void-Transaction-with-AIM/m-p/26724#M14184</link>
      <description>&lt;P&gt;Ok it looks like I have found my solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;RaynorC1emen7&lt;/FONT&gt; said the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;From &lt;A target="_blank" href="http://www.php.net/manual/en/function.curl-setopt.php"&gt;http://www.php.net/manual/en/function.curl-setopt.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;Passing an array to CURLOPT_POSTFIELDS will encode the data as multipart/form-data, while passing a URL-encoded string will encode the data as application/x-www-form-urlencoded.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;It looks like I simply left out the part to url encode the data and was sending it as a plain array :smileyembarrassed:&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2012 19:15:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-using-Void-Transaction-with-AIM/m-p/26724#M14184</guid>
      <dc:creator>sterling</dc:creator>
      <dc:date>2012-05-24T19:15:44Z</dc:date>
    </item>
  </channel>
</rss>

