title: Paypal amount calculations and discount :(
body: <p>I am trying to create a paypal form that will add 2 amount boxes together and minus 5$ off the the total amount if purchased by a specific date. I have been trying to do this for days and am not getting anywhere. Below is the code that I have; all help is appreciated :)</p>
  
  <pre><code>&lt;form action="https://www.paypal.com/cgi-bin/webscr" method="post"&gt;
  &lt;input type="hidden" name="cmd" value="_xclick"&gt;
  &lt;input type="hidden" name="business" value="ZNRGUCQ5GN4HU"&gt;
  &lt;input type="hidden" name="lc" value="US"&gt;
  &lt;input type="hidden" name="item_name" value="Gaslight Registration"&gt;
  &lt;input type="hidden" name="amount" value="40.00"&gt;
  &lt;input type="hidden" name="currency_code" value="USD"&gt;
  &lt;input type="hidden" name="button_subtype" value="services"&gt;
  &lt;input type="hidden" name="no_note" value="0"&gt;
  &lt;input type="hidden" name="cn" value="Is your Angel donation assigned? to who?"&gt;
  &lt;input type="hidden" name="no_shipping" value="1"&gt;
  &lt;input type="hidden" name="rm" value="1"&gt;
  &lt;input type="hidden" name="return" value="http://gaslight.endogaming.net"&gt;
  &lt;input type="hidden" name="cancel_return" value="http://gaslight.endogaming.net"&gt;
  &lt;input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynow_LG.gif:NonHosted"&gt;
  &lt;table&gt;
  &lt;tr&gt;&lt;td&gt;&lt;input type="hidden" name="on0" value="Character Name"&gt;Character Name&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;input type="text" name="on0" maxlength="200"&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;Angel Donation&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;input type="text" name="amount" maxlength="60"&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
  &lt;input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_paynow_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"&gt;
  &lt;img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"&gt;
  &lt;/form&gt;
  </code></pre>