0
我試圖創建一個貝寶表格,將添加2個金額框在一起,減去5美元的總金額,如果按特定日期購買我一直在嘗試這樣做的天下面是我的代碼;所有幫助都被讚賞:)貝寶金額計算和折扣:(
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="ZNRGUCQ5GN4HU">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Gaslight Registration">
<input type="hidden" name="amount" value="40.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="cn" value="Is your Angel donation assigned? to who?">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="rm" value="1">
<input type="hidden" name="return" value="http://gaslight.endogaming.net">
<input type="hidden" name="cancel_return" value="http://gaslight.endogaming.net">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynow_LG.gif:NonHosted">
<table>
<tr><td><input type="hidden" name="on0" value="Character Name">Character Name</td></tr><tr><td><input type="text" name="on0" maxlength="200"></td></tr>
<tr><td>Angel Donation</td></tr><tr><td><input type="text" name="amount" maxlength="60"></td></tr>
</table>
<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!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>