<?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: Adjusting code and server settings to communicate with gateway after SHA-1 removal in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adjusting-code-and-server-settings-to-communicate-with-gateway/m-p/65285#M38974</link>
    <description>&lt;P&gt;Thank you for your reply, Elaine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I carefully checked my XML and found absolutely no issues with it. When I tried posting that XML to API live console (developer.authorize.net/api/reference), it returned me a I00001 "Successful" reponse.&amp;nbsp; When that same exact code (except for credentials) is being submitted to production gateway, it works without a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess I will contact support with my issue.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 19:18:44 GMT</pubDate>
    <dc:creator>ym</dc:creator>
    <dc:date>2018-12-06T19:18:44Z</dc:date>
    <item>
      <title>Adjusting code and server settings to communicate with gateway after SHA-1 removal</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adjusting-code-and-server-settings-to-communicate-with-gateway/m-p/65252#M38943</link>
      <description>&lt;P&gt;My PHP website is currently using the Accept Hosted solution for payments. After removal of SHA-1 ciphers from sandbox on 11/06/2018 the site can no longer communicate to sandbox (no issue with production gateway so far). I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Access Denied&lt;/P&gt;&lt;P&gt;You don't have permission to access "&lt;A href="http://test.authorize.net/payment/payment" target="_blank"&gt;http://test.authorize.net/payment/payment&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;Reference #18.4594dc17.1543959284.3a3ed3f9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understad this is most likely happening due to cipher removal in sandbox, however, I am unsure what needs to be done in order to solve this problem. The code I am using looks somewhat like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ch = curl_init('&lt;A href="https://test.authorize.net/payment/payment" target="_blank"&gt;https://test.authorize.net/payment/payment&lt;/A&gt;');&lt;/P&gt;&lt;P&gt;curl_setopt($ch, CURLOPT_HEADER, 0);&lt;/P&gt;&lt;P&gt;curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;/P&gt;&lt;P&gt;curl_setopt($ch, CURLOPT_POSTFIELDS, $request_xml); //this variable holds getHostedPaymentPageRequest XML&lt;/P&gt;&lt;P&gt;$response = curl_exec($ch);&lt;/P&gt;&lt;P&gt;curl_close($ch);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using RHEL 7 server.&lt;/P&gt;&lt;P&gt;OpenSSL 1.0.2&lt;/P&gt;&lt;P&gt;curl 7.29.0&lt;/P&gt;&lt;P&gt;Apache 2.4.6&lt;/P&gt;&lt;P&gt;PHP 5.4.16&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've researched different solutions, but so far didn't find one that works. Can anyone point me in the right direction? What needs to be changed in the code and/or updated on the server in order to get this to work?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 22:01:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adjusting-code-and-server-settings-to-communicate-with-gateway/m-p/65252#M38943</guid>
      <dc:creator>ym</dc:creator>
      <dc:date>2018-12-04T22:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting code and server settings to communicate with gateway after SHA-1 removal</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adjusting-code-and-server-settings-to-communicate-with-gateway/m-p/65274#M38963</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_3" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.developer.authorize.net/t5/user/viewprofilepage/user-id/27389" target="_self"&gt;ym&lt;/A&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;This response is identify potentially malicious data in your request, which is blocked from being submitted by our security rules. When I review the Reference # you provide, I see that specifically SQLi is being detected.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;If you are not including SQLi in your request, this most commonly occurs when you are using an invalid XML version or including HTML in your request.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Please check your request for any of these items for correction. If you are unable to locate the culprit within your request, you can create a case with our support staff by forwarding the most recent error that you have received, the timestamp it occurred, your IP address, the Reference # and an example of your request data with all secure data (Transaction Key, payment data, etc) masked to&amp;nbsp;&lt;A href="https://developer.authorize.net/support/contact_us/.&amp;nbsp;" target="_blank"&gt;https://developer.authorize.net/support/contact_us/.&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Elaine&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 22:44:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adjusting-code-and-server-settings-to-communicate-with-gateway/m-p/65274#M38963</guid>
      <dc:creator>ElaineM</dc:creator>
      <dc:date>2018-12-05T22:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting code and server settings to communicate with gateway after SHA-1 removal</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adjusting-code-and-server-settings-to-communicate-with-gateway/m-p/65285#M38974</link>
      <description>&lt;P&gt;Thank you for your reply, Elaine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I carefully checked my XML and found absolutely no issues with it. When I tried posting that XML to API live console (developer.authorize.net/api/reference), it returned me a I00001 "Successful" reponse.&amp;nbsp; When that same exact code (except for credentials) is being submitted to production gateway, it works without a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess I will contact support with my issue.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 19:18:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adjusting-code-and-server-settings-to-communicate-with-gateway/m-p/65285#M38974</guid>
      <dc:creator>ym</dc:creator>
      <dc:date>2018-12-06T19:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting code and server settings to communicate with gateway after SHA-1 removal</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adjusting-code-and-server-settings-to-communicate-with-gateway/m-p/65314#M39001</link>
      <description>&lt;P&gt;Just posting here to say that this issue was never solved and proved to be impossible to solve. Here’s what I tried:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Tried contacting Authorize.net Sandbox support. I sent them everything requested a few times. Their original response was that I have some kind of invalid scripting or HTML code in my response, which is not the case. I tested it numerous times and I am 200% sure the XML is correct. Like I mentioned before, the XML works perfectly when I submit it to API Live console (from developer.authorize.net/api/reference), but when I submit it from the site, it produces “Access denied” error.&lt;/P&gt;&lt;P&gt;I also copied the sample code directly from API Live Console, replaced name and transaction key with my Sandbox keys, and got the same result.&lt;/P&gt;&lt;P&gt;Also tried creating a very simple form on our site that takes the XML and submits it to the sandbox gateway. No matter what I tried, it gives access denied error.&lt;/P&gt;&lt;P&gt;Finally, I tried using PHP sample code for Authorize.net SDK, used my login and transaction key, and still got “access denied” error.&lt;/P&gt;&lt;P&gt;Oddly enough, it occasionally produces “Missing or invalid token” error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I then tried checking my server configuration. Everything is correct. I also consulted out dedicated server support and they confirmed everything is good and up to date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Tried doing it from a different IP, used different browsers to no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Tried creating another sandbox account and repeating all steps above – no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way to get it to work is to switch to production gateway and use production login and transaction key.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point I am just giving up, as I have to work on other projects. I guess Sandbox is no longer an option. Hopefully the production gateway won’t stop working like that in the future.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 21:53:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Adjusting-code-and-server-settings-to-communicate-with-gateway/m-p/65314#M39001</guid>
      <dc:creator>ym</dc:creator>
      <dc:date>2018-12-10T21:53:26Z</dc:date>
    </item>
  </channel>
</rss>

