html - Paypal button shows empty shopping cart -
why give me empty shopping cart ? single item works fine.
any ideas anyone, if helps (or doesnt) paypal support not either.
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value="xxxx.xxxx@xxxx.net"> <input type="hidden" name="lc" value="us"> <input type="hidden" name="item_name" value="my shopping cart"> <input type="hidden" name="currency_code" value="gbp" /> <input type="hidden" name="display" value="1" /> <input type="hidden" name="upload" value="1" /> <input type="hidden" name="amount_1" value="12.00" /> <input type="hidden" name="amount_2" value="45.00" /> <input type="hidden" name="amount_3" value="6.00" /> <input type="hidden" name="amount_4" value="17.00" /> <input type="hidden" name="amount_5" value="98.00" /> <input type="hidden" name="item_name_1" value="adcde" /> <input type="hidden" name="item_name_2" value="defgh" /> <input type="hidden" name="item_name_3" value="klmno" /> <input type="hidden" name="item_name_4" value="pqrst" /> <input type="hidden" name="item_name_5" value="stuvw" /> <input type="hidden" name="image_url" value="http://xxxxxxx.co.uk/images/50x50.jpg" /> <input type="hidden" name="bn" value="pp-buynowbf:btn_buynow_lg.gif:nonhostedguest"> <input type="image" src="https://www.paypal.com/en_us/i/btn/btn_buynow_lg.gif" border="0" name="submit" alt=""> <input type="hidden" name="return" value="http://xxxxxxx.co.uk"> <img alt="" border="0" src="https://www.paypal.com/en_us/i/scr/pixel.gif" width="1" height="1"> </form>
you specified 2 conflicting actions (display , upload). remove display command , should work fine.
Comments
Post a Comment