<?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 Sorry, an error occurred: A valid amount is required. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sorry-an-error-occurred-A-valid-amount-is-required/m-p/32706#M17251</link>
    <description>&lt;P&gt;Hi, I'm having a problem integrating direct post in my codes. I just copied the PHP file which was given in one of your tutorials but of changed some things needed in the said file except for the amount. I wanted to try it first with the constant amount.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN&gt;php&lt;BR /&gt;require_once&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'anet_php_sdk/AuthorizeNet.php'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;// The SDK&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$url&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$api_login_id&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'YOUR_API_LOGIN_ID'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$transaction_key&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'YOUR_TRANSACTION_KEY'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$md5_setting&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'YOUR_API_LOGIN_ID'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;// Your MD5 Setting&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$amount&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"5.99"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;AuthorizeNetDPM&lt;/SPAN&gt;&lt;SPAN&gt;::&lt;/SPAN&gt;&lt;SPAN&gt;directPostDemo&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$url&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;$api_login_id&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;$transaction_key&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;$amount&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;$md5_setting&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;?&amp;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;Everything went smoothly but when I clicked the "Buy" button the direct_post.php, it gives me this error. "Sorry, an error occurred: A valid amount is required.".The response code was 3. I've read some similar problems regarding this but haven't found an answer. What does that mean? I didn't even change the amount in your sample code. Please help.&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;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jan 2013 06:27:20 GMT</pubDate>
    <dc:creator>jonahnarazo16</dc:creator>
    <dc:date>2013-01-25T06:27:20Z</dc:date>
    <item>
      <title>Sorry, an error occurred: A valid amount is required.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sorry-an-error-occurred-A-valid-amount-is-required/m-p/32706#M17251</link>
      <description>&lt;P&gt;Hi, I'm having a problem integrating direct post in my codes. I just copied the PHP file which was given in one of your tutorials but of changed some things needed in the said file except for the amount. I wanted to try it first with the constant amount.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN&gt;php&lt;BR /&gt;require_once&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'anet_php_sdk/AuthorizeNet.php'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;// The SDK&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$url&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;" "&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$api_login_id&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'YOUR_API_LOGIN_ID'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$transaction_key&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'YOUR_TRANSACTION_KEY'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$md5_setting&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'YOUR_API_LOGIN_ID'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;// Your MD5 Setting&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;$amount&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"5.99"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;AuthorizeNetDPM&lt;/SPAN&gt;&lt;SPAN&gt;::&lt;/SPAN&gt;&lt;SPAN&gt;directPostDemo&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$url&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;$api_login_id&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;$transaction_key&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;$amount&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;$md5_setting&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;?&amp;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;Everything went smoothly but when I clicked the "Buy" button the direct_post.php, it gives me this error. "Sorry, an error occurred: A valid amount is required.".The response code was 3. I've read some similar problems regarding this but haven't found an answer. What does that mean? I didn't even change the amount in your sample code. Please help.&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;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 06:27:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sorry-an-error-occurred-A-valid-amount-is-required/m-p/32706#M17251</guid>
      <dc:creator>jonahnarazo16</dc:creator>
      <dc:date>2013-01-25T06:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sorry, an error occurred: A valid amount is required.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sorry-an-error-occurred-A-valid-amount-is-required/m-p/32707#M17252</link>
      <description>&lt;P&gt;what kind of changed did you made?&lt;/P&gt;&lt;P&gt;Also, on the web browser, go thru to the "Buy" button page, and view the browser page source. There should be a "x_amount" hidden field, is it there?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 12:42:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sorry-an-error-occurred-A-valid-amount-is-required/m-p/32707#M17252</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-01-25T12:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sorry, an error occurred: A valid amount is required.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sorry-an-error-occurred-A-valid-amount-is-required/m-p/35715#M19937</link>
      <description>&lt;P&gt;I had exactly the same problem. I did what you said, Raynor, and viewed the page source. A hidden field for x_amount was not there, and I don't see where the hidden fields are coming from/can't read php that well. What would be the next step?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2013 20:34:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sorry-an-error-occurred-A-valid-amount-is-required/m-p/35715#M19937</guid>
      <dc:creator>DPMnoob</dc:creator>
      <dc:date>2013-09-15T20:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sorry, an error occurred: A valid amount is required.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sorry-an-error-occurred-A-valid-amount-is-required/m-p/35717#M19938</link>
      <description>&lt;P&gt;You could hire a certified developer&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.authorize.net/solutions/merchantsolutions/merchantservices/certifieddeveloperdirectory/" target="_blank"&gt;http://www.authorize.net/solutions/merchantsolutions/merchantservices/certifieddeveloperdirectory/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2013 22:21:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sorry-an-error-occurred-A-valid-amount-is-required/m-p/35717#M19938</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-09-15T22:21:09Z</dc:date>
    </item>
  </channel>
</rss>

