<?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: PHP - MD5 - Depreciated Stuff - Confusing Docs - What should I do next ... in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66778#M40284</link>
    <description>&lt;P&gt;Afternoon,&lt;BR /&gt;&lt;BR /&gt;The code posted in my first message is exactly what I'm using now.&lt;BR /&gt;It's using the SDK to generate the credit card form. Here's the generated hidden fields for that...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;form method="post" action="https://secure.authorize.net/gateway/transact.dll"&amp;gt;
&amp;lt;input type="hidden" name="x_amount" value="1.5225;"&amp;gt;
&amp;lt;input type="hidden" name="x_delim_data" value="TRUE"&amp;gt;
&amp;lt;input type="hidden" name="x_fp_hash" value="HashNumberHere"&amp;gt;
&amp;lt;input type="hidden" name="x_fp_sequence" value="1111111"&amp;gt;
&amp;lt;input type="hidden" name="x_fp_timestamp" value="1551882250"&amp;gt;
&amp;lt;input type="hidden" name="x_login" value="MyLogIn"&amp;gt;
&amp;lt;input type="hidden" name="x_relay_response" value="TRUE"&amp;gt;
&amp;lt;input type="hidden" name="x_relay_url" value="https://www.MySite.com/account/relay_response.php?enrid=1111111"&amp;gt;
&amp;lt;input type="hidden" name="x_version" value="3.1"&amp;gt;
&amp;lt;input type="hidden" name="x_delim_char" value=","&amp;gt;&lt;/PRE&gt;&lt;P&gt;2nd block of code in my first message takes care of the rest.&amp;nbsp;&lt;BR /&gt;That's pretty much it.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 14:29:15 GMT</pubDate>
    <dc:creator>LesMizzell</dc:creator>
    <dc:date>2019-03-06T14:29:15Z</dc:date>
    <item>
      <title>PHP - MD5 - Depreciated Stuff - Confusing Docs - What should I do next ...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66696#M40207</link>
      <description>&lt;P&gt;OK, I'm one of those "confused" folks mentioned in another thread.&lt;BR /&gt;&lt;BR /&gt;1. My client sends me a panic email - OMG our payment portal is going down, and a copy of the "&lt;FONT face="&amp;quot;ScalaSansWeb&amp;quot;,sans-serif"&gt;MD5 Hash End of Life &amp;amp; Signature Key Replacement Update&lt;/FONT&gt;" email.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2. I start to research this. And I research some more. Then even more.&lt;BR /&gt;&lt;BR /&gt;3. OK, I'm confused. There seems to be conflicting stuff in different docs, and different docs telling me I need to be doing different things. What I need is for somebody to point me to "&lt;EM&gt;&lt;STRONG&gt;THE COMPLETE IDIOTS GUILD TO GETTING THIS RIGHT WITH NO CONFLICTING INFORMATION&lt;/STRONG&gt;&lt;/EM&gt;".&lt;BR /&gt;&lt;BR /&gt;4. I'm using a relay response method. Current code is below. From what I can tell, in addition to the HD5 end of life, this method has been depreciated and is near end of life too (don't remember ever getting a notice about that), so at some point it will go away. While I'm trying to figure out the HD5 issue, I might as well rewrite the whole thing to whatever the current acceptable method is.&lt;BR /&gt;&amp;nbsp;- One place tells me (I think) I should be using Webhooks&lt;BR /&gt;&amp;nbsp;- Somewhere else says&amp;nbsp;&lt;A href="https://developer.authorize.net/api/reference/index.html" target="_blank" rel="noopener"&gt;Authorize.Net API&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;OK questions ...&lt;BR /&gt;1. Exactly what method should I start using?&lt;BR /&gt;This is an insurance application, so all I need to send to autho, other then the credit card info, is a transaction number and the amount (see code below). Nothing complicated at all. One time payment per application and done.&lt;BR /&gt;&lt;BR /&gt;2.What will actually happen on March &lt;STRIKE&gt;14,&lt;/STRIKE&gt; no, 28.&amp;nbsp;&lt;BR /&gt;If I want to be lazy (I don't), I can just comment the MD5 lines out a skip any type of hash verification completely at the moment. I'm not saying that's a smart thing to do, but it can be done. There's other security already built into the app. If I did than, would payments would keep processing without me changing anything other than killing the MD5 lines, or will it go down completely until I've rewritten things?&lt;BR /&gt;&lt;BR /&gt;Question one above is the important thing. Considering what I'm doing now, point me to the correct replacement for that. Sheesh, I may be an idiot. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current Stuff: PAYMENT PAGE&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;require_once 'anet_php_sdk/AuthorizeNet.php'; &lt;BR /&gt;$relay_response_url = "https://www.MYWEBSITE.com/processing.php?id=".$enrollmentID; &lt;BR /&gt;$api_login_id = 'My APD ID';&lt;BR /&gt;$transaction_key = 'xxxxxxxxxxxxxxxx';&lt;BR /&gt;$amount = "$totaltoCARD;";&lt;BR /&gt;$fp_sequence = $enrollmentID&lt;BR /&gt;echo AuthorizeNetDPM::getCreditCardForm($amount, $fp_sequence, $relay_response_url, $api_login_id, $transaction_key );&lt;/PRE&gt;&lt;P&gt;Current Stuff: RESPONSE PAGE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;require_once 'anet_php_sdk/AuthorizeNet.php'; // The SDK

$api_login_id = 'My API LOGIN';
$md5_setting = "xxxxxx"; // MD5 Setting
$response = new AuthorizeNetSIM($api_login_id, $md5_setting);
$enrID = $_GET['enrid'];
$transID = $response-&amp;gt;transaction_id;
//$transID = htmlentities($_GET['transaction_id']);
$responseC = $_GET['response_code'];

$payDATE = date('Y-m-d');

if ($response-&amp;gt;isAuthorizeNet())
	{

// ALL MY PROCESSING GOES HERE ....&lt;/PRE&gt;</description>
      <pubDate>Sun, 03 Mar 2019 20:12:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66696#M40207</guid>
      <dc:creator>LesMizzell</dc:creator>
      <dc:date>2019-03-03T20:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - MD5 - Depreciated Stuff - Confusing Docs - What should I do next ...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66707#M40218</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/5066"&gt;@LesMizzell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not use DPM/SIM, but have helped many people on this forum who do. I have working code for SIM that I will be posting.&amp;nbsp; I will also post working code for DPM when I have the chance, and you could greatly help me by posting a sample DPM form to submit in a sandbox.&amp;nbsp; Here is what another user posted for SIM:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;form action="&lt;A href="https://test.authorize.net/gateway/transact.dll" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;" method="post"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_fp_sequence" value="28897"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_fp_timestamp" value="1551197199"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_fp_hash" value="1F654DD87486F5F5314E9E03428762B7"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_login" value="3Ac2GnPa9X9b"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_show_form" value="PAYMENT_FORM"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_amount" value="80.00"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_method" value="CC"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_type" value="AUTH_CAPTURE"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_invoice_num" value="28897"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_description" value="this is a test"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_cust_id" value="12234"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_company" value="Testing"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_first_name" value="tfn"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_last_name" value="fln"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_address" value="123 test"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_city" value="somewhere"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_state" value="mn"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_zip" value="55744"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_phone" value="111-111-1111"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_email" value="test@testing.com"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_po_num" value=""&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_duplicate_window" value="28800"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_country" value="US"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_currency_code" value="USD"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type="HIDDEN" name="x_header_html_payment_form" value=""&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_footer_html_payment_form" value="If you have any difficulty or questions please call customer support at "&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="x_customer_ip" value="10.1.1.136"&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="header_html" value=""&amp;gt;&lt;BR /&gt;&amp;lt;input type="HIDDEN" name="return_url" value=""&amp;gt;&lt;BR /&gt;&amp;lt;input type="hidden" name="x_test_request" value="TRUE"&amp;gt;&lt;BR /&gt;&amp;lt;input type="SUBMIT" value="Click here to pay with a credit card securely on-line"&amp;gt;&lt;BR /&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you could post a sample request like this for DPM that will work (even if only works in md5 right now), I can test for validation and response in sha512. Also answer this question, in DPM you get the response through a silent post URL? I don't need your md5 setting values, ID, none of it. I just need a generic form like this with info populated. I will enter my own credentials.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 00:19:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66707#M40218</guid>
      <dc:creator>Renaissance</dc:creator>
      <dc:date>2019-03-04T00:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - MD5 - Depreciated Stuff - Confusing Docs - What should I do next ...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66734#M40245</link>
      <description>&lt;P&gt;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/5066"&gt;@LesMizzell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See my latest post in this thread. The verification is a little different than how you have been doing it. It is just something I put together that works. Hope this helps you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.developer.authorize.net/t5/Integration-and-Testing/Working-php-hash-verification/m-p/66731#M40242" target="_blank"&gt;https://community.developer.authorize.net/t5/Integration-and-Testing/Working-php-hash-verification/m-p/66731#M40242&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 17:47:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66734#M40245</guid>
      <dc:creator>Renaissance</dc:creator>
      <dc:date>2019-03-04T17:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - MD5 - Depreciated Stuff - Confusing Docs - What should I do next ...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66778#M40284</link>
      <description>&lt;P&gt;Afternoon,&lt;BR /&gt;&lt;BR /&gt;The code posted in my first message is exactly what I'm using now.&lt;BR /&gt;It's using the SDK to generate the credit card form. Here's the generated hidden fields for that...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;form method="post" action="https://secure.authorize.net/gateway/transact.dll"&amp;gt;
&amp;lt;input type="hidden" name="x_amount" value="1.5225;"&amp;gt;
&amp;lt;input type="hidden" name="x_delim_data" value="TRUE"&amp;gt;
&amp;lt;input type="hidden" name="x_fp_hash" value="HashNumberHere"&amp;gt;
&amp;lt;input type="hidden" name="x_fp_sequence" value="1111111"&amp;gt;
&amp;lt;input type="hidden" name="x_fp_timestamp" value="1551882250"&amp;gt;
&amp;lt;input type="hidden" name="x_login" value="MyLogIn"&amp;gt;
&amp;lt;input type="hidden" name="x_relay_response" value="TRUE"&amp;gt;
&amp;lt;input type="hidden" name="x_relay_url" value="https://www.MySite.com/account/relay_response.php?enrid=1111111"&amp;gt;
&amp;lt;input type="hidden" name="x_version" value="3.1"&amp;gt;
&amp;lt;input type="hidden" name="x_delim_char" value=","&amp;gt;&lt;/PRE&gt;&lt;P&gt;2nd block of code in my first message takes care of the rest.&amp;nbsp;&lt;BR /&gt;That's pretty much it.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 14:29:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66778#M40284</guid>
      <dc:creator>LesMizzell</dc:creator>
      <dc:date>2019-03-06T14:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: PHP - MD5 - Depreciated Stuff - Confusing Docs - What should I do next ...</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66782#M40288</link>
      <description>&lt;P&gt;Check out what I just linked. I have tested and working DPM code on page 6 of the thread (link should take you straight to page 6, I think at current it is the very last post on page 6). Try that for your validation and if you still have issues post them here.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 16:11:04 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/PHP-MD5-Depreciated-Stuff-Confusing-Docs-What-should-I-do-next/m-p/66782#M40288</guid>
      <dc:creator>Renaissance</dc:creator>
      <dc:date>2019-03-06T16:11:04Z</dc:date>
    </item>
  </channel>
</rss>

