html - PayPal form creation -


i'm having trouble form i'm trying create in paypal wordpress website. it's form allows different types of registrations , quantities - both of these work. @ end, client wants option donate amount - not working.

the code @ bottom adding amount entered 'note' paypal, not actual monetary value amount being paid. i've tried 'name="amount"' well.

<table> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input name="business" type="hidden" value="email" /> <input name="cmd" type="hidden" value="_xclick" /> <input name="item_name" type="hidden" value="camper registration" /> <input name="currency_code" type="hidden" value="usd" /> <!-- provide dropdown menu option field quantity. -->  <tr> <td><input type="hidden" value="quantity" />how many campers?</td>  <td><select name="quantity"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> </select></td></tr>  <!-- provide dropdown menu option field prices. --> <tr> <td><input name="on1" type="hidden" value="payment type" />payment amount</td>  <td><select name="os1"> <option value="deposit">nonrefundable deposit $100</option> <option value="before1/1">(before 1/1/15) $210</option> <option value="before4/1">(before 4/1/15) $225</option> <option value="after4/1">(after 4/1/15) $250</option> </select></td></tr>  <!-- specify price paypal uses each option. --> <input name="option_index" type="hidden" value="1" /> <input name="option_select0" type="hidden" value="deposit" /> <input name="option_amount0" type="hidden" value="100" /> <input name="option_select1" type="hidden" value="before1/1" /> <input name="option_amount1" type="hidden" value="210" /> <input name="option_select2" type="hidden" value="before4/1" /> <input name="option_amount2" type="hidden" value="225" /> <input name="option_select3" type="hidden" value="after4/1" /> <input name="option_amount3" type="hidden" value="250" />   <!-- provide place other donations. --> <tr> <td>other amount:</td> <input type="hidden" name="on0" value="other amount"> <td><input name="os0" type="text" value="0"></td></tr>   <!-- provide place notes. --> <tr> <td>child's name(s) , comments:</td> <input type="hidden" name="on3" value="notes"> <td><textarea name="os3" rows="4" cols="50" wrap></textarea></td></tr>   </table>  <!-- display payment button. --> <input alt="paypal - safer, easier way pay online" name="submit" src="https://www.paypalobjects.com/en_us/i/btn/btn_paynow_lg.gif" type="image" /> <img src="https://www.paypalobjects.com/en_us/i/scr/pixel.gif" alt="" width="1" height="1" border="0" />  </form> 

this code in question:

<tr> <td>other amount:</td> <input type="hidden" name="on0" value="other amount"> <td><input name="os0" type="text" value="0"></td></tr> 


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -