<?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: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51263#M26645</link>
    <description>&lt;P&gt;What if there is no SDK? If I understand it correctly PHP site I help to support (Linux&amp;nbsp;2.4.37.9 and PHP v 5.3.28) simply uses curl to post payment data to &lt;A href="https://secure.authorize.net/gateway/transact.dll" target="_blank"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt; with the following parameters:&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_HEADER, 0); // set to 0 to eliminate header info from response&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // Returns response data instead of TRUE(1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_POSTFIELDS, rtrim( $fields, "&amp;amp; " )); // use HTTP POST to send form data&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "/Entrust.netSecureServerCertificationAuthority.crt");&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;Replacing contents of Entrust.netSecureServerCertificationAuthority.crt file with what I found in Entrust link on authorize page did not seem to help. Do I need to do something else? Windstream is hosting that website, so I have limited permissions. Anything Windstream needs to do/check?&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2015 14:15:15 GMT</pubDate>
    <dc:creator>hotpelmen</dc:creator>
    <dc:date>2015-06-29T14:15:15Z</dc:date>
    <item>
      <title>Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51218#M26603</link>
      <description>&lt;P&gt;I have Authnet PHP code that worked perfectly last time I ran it about 2 years ago on Win7 IIS7.5 PHP. Now I am trying to run it on Windows 8.1 and all I get back is an empty response, every time. Here's the test URL I'm sending to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A target="_blank" href="https://apitest.authorize.net/xml/v1/request.api"&gt;https://apitest.authorize.net/xml/v1/request.api&lt;/A&gt;&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;And here is my full XML that I'm sending:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;ARBCreateSubscriptionRequest xmlns= "AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
    &amp;lt;merchantAuthentication&amp;gt;
        &amp;lt;name&amp;gt;foo&amp;lt;/name&amp;gt;
        &amp;lt;transactionKey&amp;gt;bar&amp;lt;/transactionKey&amp;gt;
    &amp;lt;/merchantAuthentication&amp;gt;
    &amp;lt;subscription&amp;gt;
    &amp;lt;name&amp;gt;TransitPark Monthly Indoor&amp;lt;/name&amp;gt;
    &amp;lt;paymentSchedule&amp;gt;
        &amp;lt;interval&amp;gt;
            &amp;lt;length&amp;gt;1&amp;lt;/length&amp;gt;
            &amp;lt;unit&amp;gt;months&amp;lt;/unit&amp;gt;
        &amp;lt;/interval&amp;gt;
        &amp;lt;startDate&amp;gt;2015-06-22&amp;lt;/startDate&amp;gt;
        &amp;lt;totalOccurrences&amp;gt;9999&amp;lt;/totalOccurrences&amp;gt;
        &amp;lt;trialOccurrences&amp;gt;1&amp;lt;/trialOccurrences&amp;gt;
    &amp;lt;/paymentSchedule&amp;gt;
    &amp;lt;amount&amp;gt;95&amp;lt;/amount&amp;gt;
    &amp;lt;trialAmount&amp;gt;105&amp;lt;/trialAmount&amp;gt;
    &amp;lt;payment&amp;gt;
        &amp;lt;creditCard&amp;gt;
            &amp;lt;cardNumber&amp;gt;4111111111111111&amp;lt;/cardNumber&amp;gt;
            &amp;lt;expirationDate&amp;gt;2015-5&amp;lt;/expirationDate&amp;gt;
            &amp;lt;cardCode&amp;gt;123&amp;lt;/cardCode&amp;gt;
        &amp;lt;/creditCard&amp;gt;
        
    &amp;lt;/payment&amp;gt;
    &amp;lt;order&amp;gt;
        &amp;lt;invoiceNumber&amp;gt;5K3TE4UFCY&amp;lt;/invoiceNumber&amp;gt;
    &amp;lt;/order&amp;gt;
    &amp;lt;customer&amp;gt;
        &amp;lt;email&amp;gt;nate@zerogravpro.com&amp;lt;/email&amp;gt;
    &amp;lt;/customer&amp;gt;
    &amp;lt;billTo&amp;gt;
        &amp;lt;firstName&amp;gt;Frank&amp;lt;/firstName&amp;gt;
        &amp;lt;lastName&amp;gt;O'Malley&amp;lt;/lastName&amp;gt;
        &amp;lt;address&amp;gt;1029 Sunset Ave.&amp;lt;/address&amp;gt;
        &amp;lt;city&amp;gt;Hollywood&amp;lt;/city&amp;gt;
        &amp;lt;state&amp;gt;MO&amp;lt;/state&amp;gt;
        &amp;lt;zip&amp;gt;90210&amp;lt;/zip&amp;gt;
    &amp;lt;/billTo&amp;gt;
&amp;lt;/subscription&amp;gt;
&amp;lt;/ARBCreateSubscriptionRequest&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;The name and transkey values have been changed for the post, but I verified they are valid sandbox api keys. Is there something wrong with my XML?&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;The source code is nothing special, it's straight out of Authnet sample code that I downloaded. Any idea what could be going wrong?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 03:46:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51218#M26603</guid>
      <dc:creator>ZeroGravPro</dc:creator>
      <dc:date>2015-06-23T03:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51219#M26604</link>
      <description>&lt;P&gt;One note, the response may not be literally empty, it's hard to tell. Looks like I might be getting this actually:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;error: Error:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Message:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 23 Jun 2015 03:52:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51219#M26604</guid>
      <dc:creator>ZeroGravPro</dc:creator>
      <dc:date>2015-06-23T03:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51220#M26605</link>
      <description>&lt;P&gt;Also don't worry about the expired cc expiration date. I just tried it with non-expired date and got exact same problem. Also tried different cc# from Authnet website.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 03:55:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51220#M26605</guid>
      <dc:creator>ZeroGravPro</dc:creator>
      <dc:date>2015-06-23T03:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51224#M26609</link>
      <description>&lt;P&gt;Did you check for connection error since they change SSL not too long ago?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 11:17:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51224#M26609</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2015-06-23T11:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51226#M26611</link>
      <description>&lt;P&gt;How do I check for connection problems? Authnet is not returning any info to me.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 12:29:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51226#M26611</guid>
      <dc:creator>ZeroGravPro</dc:creator>
      <dc:date>2015-06-23T12:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51231#M26616</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/7048"&gt;@ZeroGravPro&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We recently upgraded our security certificates to support SHA-2. &amp;nbsp;For PHP, you may need to obtain the .PEM file from the PHP SDK on &lt;A href="https://github.com/authorizenet" target="_self"&gt;GitHub&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 19:21:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51231#M26616</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2015-06-23T19:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51232#M26617</link>
      <description>&lt;P&gt;Richard, is it just a matter of copying those files to my PC? Or do I need to do something in particular with the .pem file?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 03:11:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51232#M26617</guid>
      <dc:creator>ZeroGravPro</dc:creator>
      <dc:date>2015-06-24T03:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51259#M26641</link>
      <description>&lt;P&gt;Richard: No PEM files exist in the github location you pointed me to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/AuthorizeNet/sample-code-php" target="_blank"&gt;https://github.com/AuthorizeNet/sample-code-php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where can I get that file, and where in my SDK folder path to I place it?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2015 21:19:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51259#M26641</guid>
      <dc:creator>ZeroGravPro</dc:creator>
      <dc:date>2015-06-27T21:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51260#M26642</link>
      <description>&lt;P&gt;This should help:&amp;nbsp;&lt;A href="https://github.com/AuthorizeNet/sdk-php/tree/master/lib/ssl" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-php/tree/master/lib/ssl&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2015 21:45:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51260#M26642</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2015-06-27T21:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51261#M26643</link>
      <description>&lt;P&gt;Thanks Richard. Replacing the .pem file indeed fixed everything in my authnet sandbox environment.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2015 21:54:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51261#M26643</guid>
      <dc:creator>ZeroGravPro</dc:creator>
      <dc:date>2015-06-27T21:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51263#M26645</link>
      <description>&lt;P&gt;What if there is no SDK? If I understand it correctly PHP site I help to support (Linux&amp;nbsp;2.4.37.9 and PHP v 5.3.28) simply uses curl to post payment data to &lt;A href="https://secure.authorize.net/gateway/transact.dll" target="_blank"&gt;https://secure.authorize.net/gateway/transact.dll&lt;/A&gt; with the following parameters:&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_HEADER, 0); // set to 0 to eliminate header info from response&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // Returns response data instead of TRUE(1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_POSTFIELDS, rtrim( $fields, "&amp;amp; " )); // use HTTP POST to send form data&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "/Entrust.netSecureServerCertificationAuthority.crt");&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;P&gt;Replacing contents of Entrust.netSecureServerCertificationAuthority.crt file with what I found in Entrust link on authorize page did not seem to help. Do I need to do something else? Windstream is hosting that website, so I have limited permissions. Anything Windstream needs to do/check?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2015 14:15:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/51263#M26645</guid>
      <dc:creator>hotpelmen</dc:creator>
      <dc:date>2015-06-29T14:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Empty response when sending Authnet xml via Windows 8.1/IIS/PHP to ARBCreateSubscriptionRequest</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/69172#M42252</link>
      <description>&lt;P&gt;A Windows 8 activation key is a 25-character code that Microsoft uses to activate your copy of Windows. If you don’t have a product key, you won’t be able to activate your operating system. check out&amp;nbsp;&lt;A href="https://www.freeproductkey.com/2017/09/windows-8-product-key.html" target="_self"&gt;https://www.freeproductkey.com/2017/09/windows-8-product-key.html&lt;/A&gt; for further details.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 07:49:57 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Empty-response-when-sending-Authnet-xml-via-Windows-8-1-IIS-PHP/m-p/69172#M42252</guid>
      <dc:creator>wincrunch</dc:creator>
      <dc:date>2019-09-20T07:49:57Z</dc:date>
    </item>
  </channel>
</rss>

