Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 67
Single-Item Payments – Buy Now Buttons
Sample URL Code for a Buy Now Email Payment Link
1
Use this feature cautiously, because buyers could specify quantities greater than you could
fulfill.
If you save your button in your PayPal account and you set up inventory tracking for your item
in “Step 2 – Tracking Inventory With Your Buy Now Button” on page 44, PayPal can help
prevent buyers from purchasing more items than you can fulfill.
For more information, see “Prompting for Item Quantities With Buy Now Buttons” on
page 37.
Sample URL Code for a Buy Now Email Payment Link
You can write your own URL code for Buy Now email payment links.
The same variables and values that you include in HTML code for Buy Now buttons can be
used in Buy Now email payment links. Separate the variables and their values from each other
with ampersands (&). Do not enclose values in quotation marks; use plus signs (+) as
substitutes for spaces in values, if needed.
N OTE: You cannot include variables for product options in email payment links.
You can use the following URL as a starting point for writing your own URL for Buy Now
email payment links.The value for the business variable must match a confirmed email
address on file with your PayPal account. You can change the values for other variables, with
the exception of _xclick.
EXAMPLE 1.1 URL for a Buy Now Email Payment Link
https://www.paypal.com/cgi-
bin/webscr?cmd=_xclick&business=herschelgomez@xyzzyu.com&item_name=Hot
Sauce-12+oz.+Bottle&item_number=12345&amount=5%2e95&currency_code=USD