PDA

View Full Version : problem with a paypal button and hidden input



ajetrumpet
Feb 21st, 2010, 04:13 AM
hello all,

I have the following code for a paypal table that has a button image and a dropdown in it. the code is:
<!--THIS SECTION IS FOR THE WORD SKILL BUILDER-->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="10117075">
<div id="PayPal1" style="position:absolute; left:274px; top:549px; width:92px; height:20px; z-index:28; visibility: visible;">
<table>
<tr><td><input type="hidden" name="on0" value="Word Sequence Skill Building">Word Building</td></tr><tr><td><select name="os0">
<option value="Basic Edition">Basic Edition $79.95</option>
<option value="Advanced Edition">Advanced Edition $99.95</option>
<option value="Premium Edition">Premium Edition $155.95</option>
<option value="Professional Edition">Professional Edition $175.95</option>
</select> </td></tr>
</table>
</div>
<div id="PayPal2" style="position:absolute;left:323px;top:614px;width:88px;height:31px;z-index:29">
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="images/orderbutton.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
</div>
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>my dropdown, and the textbox that is above it are not visible. the order buttons ARE visible, but when I click on them they give me the wrong prices on the paypal order page. they prices reflect the last buttons I had on the page before i changed them through paypal. so one problem is that the page is not refreshing for me in terms of the order button, and the other is the textboxes and dropdowns. has anyone dealt with this before? the code that I used before to do this, which worked correctly, also were "hidden" , in terms of the text box controls, so I don't know why this time is different. any help please? t hanks!