<?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: Error connecting to AuthorizeNet using AIM in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-connecting-to-AuthorizeNet-using-AIM/m-p/34997#M19404</link>
    <description>&lt;P&gt;There are a variety of things that could cause this. What do you get for output you use CURLOPT_VERBOSE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just one example of weird fixes that might be required:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://matt.thomm.es/archive/2012/10/26/php-curl-error-ssl-connect-error"&gt;http://matt.thomm.es/archive/2012/10/26/php-curl-error-ssl-connect-error&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2013 18:11:57 GMT</pubDate>
    <dc:creator>TJPride</dc:creator>
    <dc:date>2013-07-15T18:11:57Z</dc:date>
    <item>
      <title>Error connecting to AuthorizeNet using AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-connecting-to-AuthorizeNet-using-AIM/m-p/34964#M19379</link>
      <description>&lt;P&gt;Last year, my organization used Auth.net to process payments for an event. This year, they want to do the same. Last year, the implementation of AIM checkout worked without a problem. Since then, however, they have hired me and have moved to a new server. Now the AIM scripts don't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whatever I do, I get this "error" (without any error codes or response codes):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Error connecting to AuthorizeNet&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have looked at the SDK and pinpointed the issue down to the _sendRequest() protected function in lib/shared/ in the SDK. I'm thinking something is going on weird with cURL, but I'm not sure what. When I tried switching the cURL url to an &lt;EM&gt;http&lt;/EM&gt; address, the script worked and did not return an error. However, when I used any &lt;EM&gt;https&lt;/EM&gt; url, it returned the error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm assuming this is an issue with cURL wanting to authenticate the SSL certificates. I tried setting&amp;nbsp;$VERIFY_PEER to &lt;STRONG&gt;&lt;U&gt;false&lt;/U&gt;&lt;/STRONG&gt; (on line 14) to no avail. I tried manually setting&amp;nbsp;CURLOPT_SSL_VERIFYPEER and&amp;nbsp;CURLOPT_SSL_VERIFYHOST to either &lt;U&gt;&lt;STRONG&gt;false&lt;/STRONG&gt;&lt;/U&gt; or &lt;STRONG&gt;&lt;U&gt;0&lt;/U&gt;&lt;/STRONG&gt;, again to no avail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I even decided to start from scratch and download the SDK and use the sample code, but that didn't even work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both PHP and cURL are up-to-date, so that's not the issue. Does anyone have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 19:36:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-connecting-to-AuthorizeNet-using-AIM/m-p/34964#M19379</guid>
      <dc:creator>gcnmatthew4</dc:creator>
      <dc:date>2013-07-10T19:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting to AuthorizeNet using AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-connecting-to-AuthorizeNet-using-AIM/m-p/34965#M19380</link>
      <description>&lt;P&gt;To clarify:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The path to the file I was mentioning is in fact:&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;lib/shared/AuthorizeNetRequest.php&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2013 19:57:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-connecting-to-AuthorizeNet-using-AIM/m-p/34965#M19380</guid>
      <dc:creator>gcnmatthew4</dc:creator>
      <dc:date>2013-07-10T19:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting to AuthorizeNet using AIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-connecting-to-AuthorizeNet-using-AIM/m-p/34997#M19404</link>
      <description>&lt;P&gt;There are a variety of things that could cause this. What do you get for output you use CURLOPT_VERBOSE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just one example of weird fixes that might be required:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://matt.thomm.es/archive/2012/10/26/php-curl-error-ssl-connect-error"&gt;http://matt.thomm.es/archive/2012/10/26/php-curl-error-ssl-connect-error&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2013 18:11:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Error-connecting-to-AuthorizeNet-using-AIM/m-p/34997#M19404</guid>
      <dc:creator>TJPride</dc:creator>
      <dc:date>2013-07-15T18:11:57Z</dc:date>
    </item>
  </channel>
</rss>

