0

Hi,

I want to create an example for buying multi products with Paypal button but I cannot do it. Can you help me with this?

Thanks

<p>Buy Multi Products</p>
<form name="form1" method="post" action="https://www.paypal.com/cgi-bin/webscr">

<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="seller@hotmail.com" />

<input type="hidden" name="item_name_1" value="Charger" />
<input type="hidden" name="item_number_1" value="31" />
<input type="hidden" name="amount_1" value="9.99" />
<input type="hidden" name="quantity_1" value="3" />

<input type="hidden" name="item_name_2" value="Plug" />
<input type="hidden" name="item_number_2" value="32" />
<input type="hidden" name="amount_2" value="6.99" />
<input type="hidden" name="quantity_2" value="2" />

<input type="hidden" name="shipping" value="0.01" />
<input type="hidden" name="currency_code" value="GBP" />

<input type="hidden" name="return" value="http://www.sell.com/thankyou.html" />
<input type="hidden" name="cancel_return" value="http://www.sell.com/cancel.html" />

<input type="image" name="submit" border="0" src="http://www.paypal.com/en_GB/i/btn/x-click-but01.gif" />

</form>
1
Contributor
1
Reply
3
Views
7 Years
Discussion Span
Last Post by veledrom
0

solved (not quiet) with adding these.
Change cmd value to _cart

<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="upload" value="1" />

BUT now I cannot pass shipping value !!!!!!

Edited by veledrom: ,

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.