We created a paypal button to put on our website to allow customers to pre-purchase items for a tournament this summer. However, when inputting the HTML code into the website, the button only populates; it does not actually work properly. Clicking the paypal button only refreshes the page and does not bring you to Paypal to check out. I know it's an issue with the HTML code, but I have no experience in that area. The code provided to us is below:
<form target="paypal" 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="XLNG7MKGM7UQN">
<table>
<tr><td><input type="hidden" name="on0" value="Parking Pass">Parking Pass</td></tr><tr><td><select name="os0">
<option value="Weekly Pass">Weekly Pass $40.00 USD</option>
<option value="Bus/RV Weekly Pass">Bus/RV Weekly Pass $75.00 USD</option>
</select> </td></tr>
<tr><td><input type="hidden" name="on1" value="State, Team, Gender, Age Group">State, Team, Gender, Age Group</td></tr><tr><td><input type="text" name="os1" maxlength="200"></td></tr>
<tr><td><input type="hidden" name="on2" value="Manager Name, Email, Cellphone">Manager Name, Email, Cellphone</td></tr><tr><td><input type="text" name="os2" maxlength="200"></td></tr>
</table>
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_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>
Any help is greatly appreciated!
... View more