Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 241
The PayPal Shopping Cart – Add to Cart and View Cart Buttons
Sample HTML Code for View Cart Buttons
4
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr"
method="post">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="kin@kinskards.com">
<!-- Specify a PayPal Shopping Cart View Cart button. -->
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="display" value="1">
<!-- Continue shopping on the current webpage of the merchant site. -->
<input type="hidden" name="shopping_url"
value="http://www.kinskards.com/birthday_cards.html">
<!-- Display the View Cart button. -->
<input type="image" name="submit" border="0"
src="https://www.paypal.com/en_US/i/btn/btn_viewcart_LG.gif"
alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1"
src="https://www.paypal.com/en_US/i/scr/pixel.gif" >
</form>
For more information, see “Sample HTML Code for Add to Cart Buttons that Continue
Shopping on the Current Merchant Webpage” on page 236.