<?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 DPM PHP - Verifying user form data before submitting to Authorize.net in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-PHP-Verifying-user-form-data-before-submitting-to-Authorize/m-p/27290#M14441</link>
    <description>&lt;P&gt;I'm using the sample PHP code for ANet in which the form submits directly to:&amp;nbsp;&lt;SPAN&gt;&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Everything works fine, but I want to perform validation on the form fields before submitting them to ANet. This is important because in the sample code, the amount the user will be charged is simply shown in the HTML which makes it easy for the client to modify the value charged. I can do client-side validation with Javascript, but this isn't a safe/ideal option either.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically, I would like to submit the form values to a PHP page that performs server-side validation and then submits the data to&amp;nbsp;&lt;SPAN&gt;&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll."&gt;https://test.authorize.net/gateway/transact.dll.&lt;/A&gt; How can I accomplish this? I believe I need to use cURL, but I'm not exactly sure if that's correct or how to approach it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any help would be much appreciated!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jun 2012 14:27:00 GMT</pubDate>
    <dc:creator>js2393</dc:creator>
    <dc:date>2012-06-19T14:27:00Z</dc:date>
    <item>
      <title>DPM PHP - Verifying user form data before submitting to Authorize.net</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-PHP-Verifying-user-form-data-before-submitting-to-Authorize/m-p/27290#M14441</link>
      <description>&lt;P&gt;I'm using the sample PHP code for ANet in which the form submits directly to:&amp;nbsp;&lt;SPAN&gt;&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Everything works fine, but I want to perform validation on the form fields before submitting them to ANet. This is important because in the sample code, the amount the user will be charged is simply shown in the HTML which makes it easy for the client to modify the value charged. I can do client-side validation with Javascript, but this isn't a safe/ideal option either.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Basically, I would like to submit the form values to a PHP page that performs server-side validation and then submits the data to&amp;nbsp;&lt;SPAN&gt;&lt;A target="_blank" href="https://test.authorize.net/gateway/transact.dll."&gt;https://test.authorize.net/gateway/transact.dll.&lt;/A&gt; How can I accomplish this? I believe I need to use cURL, but I'm not exactly sure if that's correct or how to approach it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any help would be much appreciated!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2012 14:27:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-PHP-Verifying-user-form-data-before-submitting-to-Authorize/m-p/27290#M14441</guid>
      <dc:creator>js2393</dc:creator>
      <dc:date>2012-06-19T14:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: DPM PHP - Verifying user form data before submitting to Authorize.net</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-PHP-Verifying-user-form-data-before-submitting-to-Authorize/m-p/27292#M14442</link>
      <description>&lt;P&gt;If you &lt;SPAN&gt;server-side validation and then submits the data&lt;/SPAN&gt;, you are doing AIM not DPM anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the amount the user will be charged is simply shown in the HTML which makes it easy for the client to modify the value charged.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That is what the x_fp_hash is use for.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2012 15:15:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/DPM-PHP-Verifying-user-form-data-before-submitting-to-Authorize/m-p/27292#M14442</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2012-06-19T15:15:51Z</dc:date>
    </item>
  </channel>
</rss>

