Notice of non-liability:
PayPal, Inc. is providing the information i n this document t o you “AS-IS” with all faults. PayPal, Inc. makes no warranties of any kind (whether express,
implied or statutory) with respect to the information co ntained herein. PayPal, Inc. assumes no liability for damages (whether direct or indirect), caused
by errors or omissions, or resulting from the use of this document or the information contained in this document or resulting f rom the application or use
of the product or service described herein. PayPal, Inc. reserves the right to make changes to any information herein without further notice.
PayPal Payments Standard Integration GuideJune 201213
Contents
14June 2012PayPal Payments Standard Integration Guide
Preface
About This Guide
The PayPal Payments Standard Integration Guide (previously called Website Payments
Standard) describes how to integrate your website with PayPal by using HTML buttons and
forms. PayPal Payments Standard lets you accept payments for:
Single-item purchases with Buy Now buttons – Sell from websites that offer single or
mutually exclusive products.
Contribution payments with Donate buttons – Raise financial support for any cause.
Recurring payments with Subscribe, Automatic Billing, and Installment Plan buttons
– Collect membership dues and offer other subscription services, get authorization to bill
customers automatically, and set up installment plans.
Multiple-item purchases with Add to Cart and View Cart buttons – Sell from online
stores with catalogs and shopping carts.
The following table summarizes the contents of this guide.
Summary of the Contents of This Guide
FeatureDescriptionSee
Buy Now ButtonsAccept payments for single items at one time.“Single-Item Payments – Buy
Now Buttons” on page 21
Donate ButtonsAccept payments for donation and contributions.“Contribution Payments –
Donate Buttons” on page 75
Subscribe ButtonsLet customers sign up for subscriptions to goods or
services, like books or online content.
Automatic Billing
Buttons
Installment Plan
Buttons
The PayPal Shopping
Cart
Third-Party Shopping
Carts
Let customers sign up for automatic payment plans
that let you bill them each month, up to a limit.
Let customers sign up for installment plans that
collect payments from customers over time.
Accept payments for multiple items at one time. “The PayPal Shopping Cart –
Develop a third-party shopping cart that is
compatible with PayPal and PayPal Payments
Standard.
“Recurring Payments –
Subscribe Buttons” on page 113
“The Checkout Experience with
Automatic Billing Buttons” on
page 189
“The Checkout Experience with
Installment Plan Buttons” on
page 220
Add to Cart and View Cart
Buttons” on page 247
“The PayPal Shopping Cart –
Add to Cart and View Cart
Buttons” on page 247
PayPal Payments Standard Integration GuideJune 201215
About This Guide
Summary of the Contents of This Guide
FeatureDescriptionSee
Button Protection and
Encrypted Website
Payments
Automatic Calculation
of Sales Tax
Automatic Calculation
of Shipping Charges
Custom Payment PagesBrand the PayPal checkout pages with your own
PayPal Account
Optional
Auto ReturnRedirect people to your website automatically after
Payer Contact
Telephone
Protect against fraudulent payments using the
encryption setting or Encrypted Website Payments
for your payment buttons.
Specify tax rates that PayPal uses to calculate taxes
automatically.
Specify shipping rates that PayPal uses to calculate
shipping charges automatically.
logo and colors.
Let people pay by credit card without having to
sign up for a PayPal account.
they pay you on PayPal.
Prompt people for their contact telephone numbers
when they pay you on PayPal.
“Securing Y our PayPal Payments
Standard Buttons” on page 337”
“Automatic Calculation of Sales
T ax” on page 363
“Automatic Calculation of
Shipping Charges (U.S.
Merchants Only)” on page 368
– or –
“Automatic Calculation of
Shipping Charges (non-U.S.
Merchants Only)” on page 384
“Co-Branding the PayPal
Checkout Pages” on page 349
“PayPal Account Optional” on
page 356
“Auto Return” on page 351
“Getting Contact Telephone
Numbers” on page 354
Authorization &
Capture
RefundsRefund entire payments or portions of them.“Issuing Refunds” on page 401”
Authorize payments during checkout, and capture
payment amounts or portions of them later.
“Using Authorization &
Capture” on page 389”
16June 2012PayPal Payments Standard Integration Guide
Intended Audience
This guide is for:
Merchants and developers who want to understand:
– The checkout experiences that people go through when they make payments with PayPal
Payments Standard payment buttons
– The influence of account profile settings on the way PayPal Payments Standard works
Developers who want to learn how to integrate PayPal with websites by using PayPal
Payments Standard
Revision History
The following table lists the revisions made to the PayPal Payments Standard Integration
Guide.
Intended Audience
Date PublishedDescription
June 2012 Maintenance release.
April 2012 Updated references to Website Payments Standard and Website Payments Pro to
PayPal Payments Standard and PayPal Payments Pro, respectively.
November 2011Updated screen shots to show the user interface changes. See “Single-Item
Payments – Buy Now Buttons” on page 21
to Cart and View Cart Buttons” on page 247
The Cart Upload Command” on page 317
May 2010Added Automatic Billing and Payment Plan buttons, see “The Checkout
Experience with Automatic Billing Buttons” on page 189 and “The Checkout
Experience with Installment Plan Buttons” on page 220
buttons with priced options for different billing cycles. See “Recurring
Payments – Subscribe Buttons” on page 113
January 2010For third-party shopping carts, added the Instant Update API to “The PayPal
Shopping Cart – Add to Cart and View Cart Buttons” on page 247 and added
Instant Update HTML variables to ““HTML Variables for PayPal Payments
Standard” on page 417.
October 2009Updated screen shots to show the user interface changes. See “Securing Your
PayPal Payments Standard Buttons” on page 337
Profile” on page 349, and “Using Authorization & Capture” on page 389.
Added screen shots to illustrate the refund process. See “Issuing Refunds” on
page 401
.
, “The PayPal Shopping Cart – Add
, and “Third-Party Shopping Carts –
.
. Updated Subscribe
.
,“Using Your PayPal Account
PayPal Payments Standard Integration GuideJune 201217
Revision History
Date PublishedDescription
July 2009Added information about prepopulated billing information. See “Single-Item
Payments – Buy Now Buttons” on page 21
to Cart and View Cart Buttons” on page 247
Cart Upload Command” on page 317, and “HTML Form Basics for PayPal
Payments Standard” on page 407
Updated the payment review page information. See “Single-Item Payments –
Buy Now Buttons” on page 21
page 75
Shopping Cart – Add to Cart and View Cart Buttons” on page 247
Party Shopping Carts – The Cart Upload Command” on page 317
Revised cobranding and language encoding descriptions; removed section about
blocking payment, adding credit card names, adding multiple users, and
handling multiple currencies. See “Using Your PayPal Account Profile” on
page 349
Added email and bn variables to HTML variables tables. Added information to
the prepopulation variables section. See “HTML Variables for PayPal Payments
Standard” on page 417.
April 2009Added descriptions on how to use the discounts feature with Buy Now buttons,
Add to Cart buttons, and third-party carts. See “Single-Item Payments – Buy
Now Buttons” on page 21
Cart Buttons” on page 247
Command” on page 317
Also added discount variables to the HTML variables tables. See “HTML
Variables for Payment Transactions” on page 426 and “HTML Variables for
Shopping Carts” on page 427.
, “Recurring Payments – Subscribe Buttons” on page 113, “The PayPal
.
.
.
, “Contribution Payments – Donate Buttons” on
, “The PayPal Shopping Cart – Add to Cart and View
, and “Third-Party Shopping Carts – The Cart Upload
, “The PayPal Shopping Cart – Add
, “Third-Party Shopping Carts – The
, and “Third-
.
September 2008Revised information on creating payment buttons on the PayPal website,
including saving buttons in your PayPal account and tracking inventory. See
button-specific chapters for details.
Added sample code for Add to Cart buttons that open the PayPal Shopping Cart
in the same window as the merchant website. Also added how to use the
shopping_url variable to control which merchant page buyers return to when
they click the Continue Shopping button. See “Sample HTML Code for Add to
Cart Buttons” on page 285.
June 2008Added chapter on Subscribe buttons. See “Recurring Payments – Subscribe
Buttons” on page 113
PayPal Shopping Cart – Add to Cart and View Cart Buttons” on page 247
March 2008Made hanges to definition of authorization honor periods. See “Honor Period
and Authorization Period” on page 389
January 2008Added separate checkout experience and command for Donate buttons. See
“Contribution Payments – Donate Buttons” on page 75
August 2007Documented shipping calculations with tiered rates in different destination
regions. See “Automatic Calculation of Shipping Charges (U.S. Merchants
Only)” on page 368.
18June 2012PayPal Payments Standard Integration Guide
.Added chapter on Third-Party Shopping Carts. See “The
.
.
.
Where to Go for More Information
Date PublishedDescription
May 2007Added information on securing buttons. See “Securing Your PayPal Payments
Standard Buttons” on page 337.
April 2007Added “Address Handling (U.S. Merchants Only)” on page 445.
October 2006Minor clarifications.
August 2006Added new PayPal Shopping Cart variable, shopping_url.
Revised content to indicated that the value _ext-enter of the cmd variable for
FORM prepoulation is no longer necessary.
Clarified the values for the rm variable
– 0, 1, or 2; not the strings "GET" or
"POST".
July 2006Added information on how to use PayPal Authorization & Capture with PayPal
Payments Standard, including how to capture multiple authorizations in batches
on the PayPal website; see “Using Authorization & Capture” on page 389.
March 2006Made miscellaneous minor corrections.
Expanded description of creating Encrypted Website Payments buttons.
Where to Go for More Information
Merchant Gift Certificates Guide
Merchant Setup and Administration Guide
Sandbox User Guide
PayPal Password Management Installation Guide
Button Manager API for NVP
Button Manager API for SOAP
Documentation Feedback
Help us improve this guide by sending feedback to:
documentationfeedback@paypal.com
PayPal Payments Standard Integration GuideJune 201219
Documentation Feedback
20June 2012PayPal Payments Standard Integration Guide
1
Single-Item Payments – Buy Now
Buttons
Use Buy Now buttons to accept single-item purchase payments. A Buy Now button can sell
one or more units of a single item. Make additional Buy Now buttons for additional items that
you want to sell.
You can create Buy Now buttons that you add to your website by using a tool on the PayPal
website, or you can write the HTML code for Buy Now buttons manually. You can create
buttons with limited functionality before you create your PayPal account or with JavaScript
disabled in your browser.
Read the following topics to learn more about Buy Now buttons:
“Getting Started With Buy Now Buttons” on page 21
“The Checkout Experience With Buy Now Buttons” on page 25
“Managing Buy Now Transactions” on page 33
“Advanced Features of Buy Now Buttons” on page 35
“Creating Advanced Buy Now Buttons on the PayPal Website” on page 37
“Sample HTML Code for Buy Now Buttons” on page 52
“Sample URL Code for a Buy Now Email Payment Link” on page 62
“Creating Buy Now Buttons with JavaScript Disabled” on page 62
Getting Started With Buy Now Buttons
The easiest way to add a Buy Now button to your website is by using the button creation tool
on the PayPal website. As soon as you add the button, you can begin accepting payments on
your website.
PayPal Payments Standard Integration GuideJune 201221
Single-Item Payments – Buy Now Buttons
1
Getting Started With Buy Now Buttons
Follow one of these procedures to get started creating your own Buy Now buttons:
“Using the Button Creation Tool for a Basic Buy Now Button” on page 22
“Creating Buy Now Buttons Before You Create Your PayPal Account” on page 23
Using the Button Creation Tool for a Basic Buy Now Button
1. Log in to your PayPal account at https://www.paypal.com.
The My Account Overview page opens.
2. Click the Profile subtab.
The Profile Summary page opens.
3. Under the Selling Preferences heading, click the My Saved Buttons link.
The My Saved Buttons page opens.
4. In the Related Items box on the right, click the Create new button link.
The Create PayPal payment button page opens.
5. In the Choose a button type dropdown menu, select “Buy Now.”
6. Enter the payment details of your item.
– Item name – Enter the name of the item or service that you wish to sell.
– Price – Enter the price of your item.
7. Scroll to the bottom of the page, and click the Create Button button.
The You've created your button page opens.
8. Click the Select Code button on the Websites tab to select all of the generated HTML
code.
9. Do one of the following to copy the selected text to the clipboard:
– For Windows and Mac, right-click on the code, and then select Copy.
22June 2012PayPal Payments Standard Integration Guide
Single-Item Payments – Buy Now Buttons
Getting Started With Buy Now Buttons
– For Windows, press Ctrl+C.
– For Mac, press CMD+C.
10.In your web editing tool, open the webpage where you want to show the button.
IMPORTANT: Be sure that your tool is ready for you to paste HTML code, such as by
switching to an HTML view from a design view of your webpage.
11. Do one of the following to paste the text from the clipboard onto your webpage, where you
want the button to appear:
– For Windows or Mac, right-click on the code, and then select Paste.
– For Windows, press Ctrl+V.
– For Mac, press CMD+V.
Creating Buy Now Buttons Before You Create Your PayPal Account
You can create basic Buy Now buttons, add them to your website, and begin accepting
payments before you sign up for your PayPal account. Read the following topics to learn more
about creating Buy Now buttons before you create your PayPal account.
1
“Creating a Basic Buy Now Button Without a PayPal Account” on page 23
“Limitations of Buy Now Buttons Created Without a PayPal Account” on page 24
“Unclaimed Payments From Buttons Created Without a PayPal Account” on page 25
Creating a Basic Buy Now Button Without a PayPal Account
NOTE: You cannot create payment buttons without a PayPal account if JavaScript is disabled
in your browser.
1. Go to the PayPal website at
https://www.paypal.com.
2. Click the Business tab.
3. Click Accept Credit Cards on a Website.
4. Under the PayPal Payments Standard heading, click the Select button.
A page that describes PayPal Payments Standard opens.
5. Click the Try it now button.
The Create PayPal payment button page opens.
6. In the Choose a button type dropdown menu, select “Buy Now.”
7. Enter the payment details of your item.
– Item name – Enter the name of the item or service that you wish to sell.
– Price – Enter the price of your item.
PayPal Payments Standard Integration GuideJune 201223
Single-Item Payments – Buy Now Buttons
1
Getting Started With Buy Now Buttons
– Email address to r eceive payments– Enter the email address that you will use when you
sign up for your PayPal account.
8. Scroll to the bottom of the page, and click the Create Button button.
The You've created your button page opens.
9. Click the Select Code button on the Websites tab to select all of the generated HTML
code.
10.Do one of the following to copy the selected text to the clipboard:
– For Windows and Mac, right-click on the code, and then select Copy.
– For Windows, press Ctrl+C.
– For Mac, press CMD+C.
11. In your web editing tool, open the webpage where you want to show the button.
IMPORTANT: Be sure that your tool is ready for you to paste HTML code, such as by
switching to an HTML view from a design view of your webpage.
12.Do one of the following to paste the text from the clipboard onto your webpage, where you
want the button to appear:
– For Windows or Mac, right-click on the code, and then select Paste.
– For Windows, press Ctrl+V.
– For Mac, press CMD+V.
After Completing This Task:
Sign up for your PayPal account. You cannot collect payments that buyers make with your
payment button until you sign up successfully for your PayPal Premier account or Business
account.
Limitations of Buy Now Buttons Created Without a PayPal Account. Consider the
following limitations of payment buttons that you create and add to your website before you
sign up for your PayPal account.
You cannot claim the payments that buyers authorize during checkout. PayPal collects and
holds the payments as unclaimed until you sign up for your PayP al account.
Buyers must have a PayPal account to pay you. Any ability to pay by credit card is
disabled.
PayPal limits the features that you can specify with the button creation tool, such as:
– Saving your buttons in your PayPal account
NOTE: You cannot create payment buttons without a PayPal account if JavaScript is disabled
in your browser.
24June 2012PayPal Payments Standard Integration Guide
Single-Item Payments – Buy Now Buttons
The Checkout Experience With Buy Now Buttons
Unclaimed Payments From Buttons Created Without a PayPal Account
For buttons that you create without a PayPal account, PayPal holds any payments authorized
by buyers until you sign up for an account. PayPal identifies these held payments as
“unclaimed.” PayPal holds your unclaimed payments under the email address that you specify
when you create the buttons. Make sure to use the same email address when you sign up for
your account. Otherwise, PayPal cannot transfer you r unc l aimed payments to your PayPal
account balance.
In their PayPal accounts, buyers see the unclaimed payments that they made to you in their
recent account activity and in their transaction history. Until you finish signing up for your
PayPal account, buyers can cancel your unclaimed payments and recover their funds.
Unclaimed Payments From Payment Buttons Created Without a PayPal Account
1
The Checkout Experience With Buy Now Buttons
This section demonstrates the PayPal checkout experience for people who click Buy Now
buttons on your website. The following diagram illustrates the steps.
PayPal Payments Standard Integration GuideJune 201225
Single-Item Payments – Buy Now Buttons
1
The Checkout Experience With Buy Now Buttons
The Checkout Experience with Buy Now Buttons
Read these topics to better understand the checkout experience with Buy Now buttons:
“Begin – Buyers are Ready to Purchase Your Item on Your Website” on page 27
“1 – Buyers Enter Their Billing Information, or They Log In to PayPal” on page 27
“2 – Buyers Confirm Their Transaction Details Before Paying” on page 29
“3 – Buyers View and Print Their PayPal Payment Confirmations” on page 30
“End – Buyers Receive Payment Authorization Notices by Email” on page 31
“Enhancing the Checkout Experience With Buy Now Buttons” on page 31
26June 2012PayPal Payments Standard Integration Guide
Single-Item Payments – Buy Now Buttons
The Checkout Experience With Buy Now Buttons
Begin – Buyers are Ready to Purchase Your Item on Your Website
The basic checkout experience with Buy Now begins when someone on your website is ready
to purchase your item. Smoky
Buyers Begin on Your Website When They Are Ready To Buy Your Item
1
In this example, Steve begins on Herschel’s Hot Sauce website and decides to try a bottle. He
clicks the Buy Now button for a single 12 oz. bottle to check out.
1 – Buyers Enter Their Billing Information, or They Log In to PayPal
PayPal displays a billing information/log-in page, which lets buyers enter their credit card
information or log in to PayPal to pay.
PayPal Payments Standard Integration GuideJune 201227
Single-Item Payments – Buy Now Buttons
1
The Checkout Experience With Buy Now Buttons
Buyers Enter Their Billing information or Log In to PayPal
For Buy Now buttons, the PayPal billing information/log-in page shows transaction details on
the left, such as item name and transaction subtotal.
If buyers are satisfied with the details, they do one of the following to select a payment
method:
Have a PayPal account? – Buyers click the link, enter their PayPal credentials, and click
the Log in button.
Don’t have a PayPal account? – Buyers enter their billing information. They also enter
their contact information – email address and home phone number – so that PayPal can
send them their PayPal transaction receipts and can contact them if necessary to complete
the transaction. Then, they click the Review Order and Continue button.
If your website gathers information about your buyer, you can define HTML code to
prepopulate (prefill) the corresponding billing information fields. In this case, the buyers
28June 2012PayPal Payments Standard Integration Guide
Single-Item Payments – Buy Now Buttons
The Checkout Experience With Buy Now Buttons
see a collapsed version of the billing information section. For example, if you prefilled the
billing address, the address information displays on the page without the entry fields. Each
prefilled section of information is followed by a change link to let the buyers modify the
information, if necessary.
For more information about prepopulation, see “Filling Out FORMs Automatically with
HTML Variables” on page 411.
In this case, Steve is satisfied with the total transaction amount of $5.95 USD. He doesn’ t have
a PayPal account. Instead, he enters his billing and contact information, and then he clicks the
Review Order and Continue button.
2 – Buyers Confirm Their Transaction Details Before Paying
PayPal displays a transaction confirmation page to let buyers confirm the details before they
complete their transactions and authorize their payments.
Buyers Confirm Their Payment Details Before Paying
1
In this case, Steve reviews the transaction details and clicks the Pay Now button to complete
the transaction and make his payment.
PayPal Payments Standard Integration GuideJune 201229
Single-Item Payments – Buy Now Buttons
1
The Checkout Experience With Buy Now Buttons
3 – Buyers View and Print Their PayPal Payment Confirmations
PayPal displays a payment confirmation page after buyers pay to let them know that they have
completed their transactions and authorized their payments successfully.
Buyers View Their Payment Confirmations
From the payment confirmation page, buyers can:
View the PayPal Receipt ID – the transaction ID – to reconcile their payments.
Click the Print receipt link to print receipts for their records.
30June 2012PayPal Payments Standard Integration Guide
Loading...
+ 434 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.