User's Manual

Table Of Contents
HTML Samples
PayPal Buy Now and Donation Buttons HTML and Variables
A
132 May, 2005 Merchant User Manual and Integration Guide
<input type=”hidden” name=”cancel_return” value=”http://www.yoursite.com/cancel.htm”>
<input type=”hidden” name=”no_note” value=”0”>
<table>
<tr>
<td>
<input type=”hidden” name=”on0” value=”Color?”>Color?
<select name=”os0”>
<option value=”Red”>Red
<option value=”Green”>Green
<option value=”Blue”>Blue</select>
</td>
</tr>
</table>
<input type=”hidden” name=”cn” value=”How Did You Hear About Us?”>
<input type=”image” src=”http://images.paypal.com/images/x-click-but01.gif”
name=”submit” alt=”Make payments with PayPal - it’s fast, free and secure!”>
</form>
Sample Buy Now Hyperlink
The same inputs would generate the following hyperlink.
NOTE: Several optional fields are included in this example. The text is URL-encoded.
https://www.paypal.com/xclick/business=jsmaith%40paypal.com&undefined_quantity=1&item
_name=Baseball+Hat&item_number=123&amount=5.95&no_shipping=1&return=http%3A//www.your
site.com/thankyou.htm&cancel_return=http%3A//www.yoursite.com/cancel.htm&cn=How+did+y
ou+hear+about+us%3F&currency_code=USD
NOTE: Some Web browsers do not work properly with hyperlinks more than 1,000 characters.
Buy Now and Donations HTML and Hyperlink Variables
The following table lists all of the available variables for a Buy Now or Donations Button.
NOTE: If you want to remove the values for a variable (for example, to leave the amount blank
for your customer to define), you remove remove the entire variable, not just the value.
For example, you should remove this entire line:
<input type="hidden" name="amount" value="5.95">