<?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 Get Transaction Details returns False as response and NULL as xml in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-Transaction-Details-returns-False-as-response-and-NULL-as/m-p/52861#M28061</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Starting yesterday we receiving answer from Authorize API&amp;nbsp;with False as a response and NULL as an xml. Obviously that answer don't tell anything helpful so I check API request with simple php snippet like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?php

// auth_txn_details_request.php
$post_url = 'https://apitest.authorize.net/xml/v1/request.api';
$post_str = '&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;getTransactionDetailsRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;merchantAuthentication&amp;gt;&amp;lt;name&amp;gt;NAME&amp;lt;/name&amp;gt;&amp;lt;transactionKey&amp;gt;KEY&amp;lt;/transactionKey&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;&amp;lt;transId&amp;gt;TXN_ID&amp;lt;/transId&amp;gt;&amp;lt;/getTransactionDetailsRequest&amp;gt;';

$curl_request = curl_init($post_url);
curl_setopt($curl_request, CURLOPT_POSTFIELDS, $post_str);
curl_setopt($curl_request, CURLOPT_HEADER, 0);
curl_setopt($curl_request, CURLOPT_TIMEOUT, 45);
curl_setopt($curl_request, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_request, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($curl_request, CURLOPT_CAINFO, './cert.pem');
curl_setopt($curl_request, CURLOPT_HTTPHEADER, Array("Content-Type: text/xml"));

$response = curl_exec($curl_request);

$curl_error = curl_error($curl_request);
print_r($curl_error);

curl_close($curl_request);

print_r($response);&lt;/PRE&gt;&lt;P&gt;In response I got the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SSL peer has no certificate for the requested DNS name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone point me out to what might be the cause of such issue? I can tell that it worked a couple of days ago for sure and we didn't make any changes to our servers recently.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2015 13:43:07 GMT</pubDate>
    <dc:creator>Eugene</dc:creator>
    <dc:date>2015-11-04T13:43:07Z</dc:date>
    <item>
      <title>Get Transaction Details returns False as response and NULL as xml</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-Transaction-Details-returns-False-as-response-and-NULL-as/m-p/52861#M28061</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Starting yesterday we receiving answer from Authorize API&amp;nbsp;with False as a response and NULL as an xml. Obviously that answer don't tell anything helpful so I check API request with simple php snippet like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?php

// auth_txn_details_request.php
$post_url = 'https://apitest.authorize.net/xml/v1/request.api';
$post_str = '&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;getTransactionDetailsRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;merchantAuthentication&amp;gt;&amp;lt;name&amp;gt;NAME&amp;lt;/name&amp;gt;&amp;lt;transactionKey&amp;gt;KEY&amp;lt;/transactionKey&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;&amp;lt;transId&amp;gt;TXN_ID&amp;lt;/transId&amp;gt;&amp;lt;/getTransactionDetailsRequest&amp;gt;';

$curl_request = curl_init($post_url);
curl_setopt($curl_request, CURLOPT_POSTFIELDS, $post_str);
curl_setopt($curl_request, CURLOPT_HEADER, 0);
curl_setopt($curl_request, CURLOPT_TIMEOUT, 45);
curl_setopt($curl_request, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_request, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($curl_request, CURLOPT_CAINFO, './cert.pem');
curl_setopt($curl_request, CURLOPT_HTTPHEADER, Array("Content-Type: text/xml"));

$response = curl_exec($curl_request);

$curl_error = curl_error($curl_request);
print_r($curl_error);

curl_close($curl_request);

print_r($response);&lt;/PRE&gt;&lt;P&gt;In response I got the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SSL peer has no certificate for the requested DNS name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone point me out to what might be the cause of such issue? I can tell that it worked a couple of days ago for sure and we didn't make any changes to our servers recently.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 13:43:07 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-Transaction-Details-returns-False-as-response-and-NULL-as/m-p/52861#M28061</guid>
      <dc:creator>Eugene</dc:creator>
      <dc:date>2015-11-04T13:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get Transaction Details returns False as response and NULL as xml</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-Transaction-Details-returns-False-as-response-and-NULL-as/m-p/52914#M28100</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi &lt;SPAN class="UserName lia-user-name lia-user-rank-Member"&gt;&lt;A id="link_11" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/19201" target="_self"&gt;&lt;SPAN class=""&gt;Eugene&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not familiar with this particular SSL validation error, but it may indicate either that your curl library is outdated or that you are not actually connecting to our server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joy&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 18:37:34 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Get-Transaction-Details-returns-False-as-response-and-NULL-as/m-p/52914#M28100</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2015-11-06T18:37:34Z</dc:date>
    </item>
  </channel>
</rss>

