Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi,
I have PayPal verified business account and two sandbox accounts.
I have own shoping cart in my site made with MySQL and PHP of course. However, when a customer has let's say 10 products in the cart and he presses Checkout, how do I make it so that those all products appear on PayPal Shopping Cart?
Right now I can do it so that one product appears on the PayPal's Shopping Cart, but I want to add ALL products to PayPal's Shopping Cart.
I can add HTML code like this:
[syntax="html"]<form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="submit" name="submit" value="Pay with PayPal" />
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="on0" value="username" />
<input type="hidden" name="os0" value="$u_username" />
<input type="hidden" name="add" value="1" />
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="kaisellgren@gmail.com" />
<input type="hidden" name="item_name" value="Template" />
<input type="hidden" name="item_number" value="1" />
<input type="hidden" name="amount" value="20.00" />
<input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="FI" />
<input type="hidden" name="bn" value="PP-ShopCartBF" />
</form>feyd | Please use[/syntax]
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]