I have made a paypal form to upload my custom shopping cart to paypal so customers can pay using payapal, however everytime I try to use it I am getting the following error on the paypal website:
"You have entered an invalid quantity value. A quantity value must be an integer greater than or equal to one."
Here is my code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden"name="business" value="websales@myemail.co.uk">
<input type="hidden" name="item_name_1" value="Multi-Purpose Grease - Renolit" >
<input type="hidden" name="amount_1" value="4.13" >
<input type="hidden" name="shipping_1" value="1.00" >
<input type="hidden" name="quantity_1" value="1" >
<input type="hidden" name="item_name_2" value="Blue Roll six pack, seconds" >
<input type="hidden" name="amount_2" value="8.00" >
<input type="hidden" name="shipping_2" value="1.00" >
<input type="hidden" name="quantity_2" value="1" >
<input type="hidden" name=" currency_code " value="GBP">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="hosted_button_id" value="KJXKVWA5MPEBY">
<input type= "image"src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
</form>
If anyone has any ideas it would be much appreciated, this has been driving me mad!