Integration Guide

Table Of Contents
PayPal Payments Standard Integration Guide June 2012 51
Single-Item Payments – Buy Now Buttons
Creating Advanced Buy Now Buttons on the PayPal Website
1
Regardless of saving your buttons in your PayPal account, you must copy and paste the code
that PayPal generates onto your own webpages and into email templates and messages.
Copying and Pasting the HTML Code for the Buy Now Button
The Website tab on the You are viewing your button code page contains the generated
HTML code for your payment button.
If you chose not to save your button in your PayPal account, PayPal protects the generated
HTML code with encryption automatically. Protected HTML code helps secure your buttons
against malicious tampering and fraudulent payments.
You can expose the code of your payment button by clicking the Remove code protection
link at the upper right of text box. For example, you might remove protection so that you can
edit the code later to change the item price. If you remove code protection, use other methods
that PayPal recommends for securing your payment button. Click the Protect code link to
restore the button protection that you removed.
IMPORTANT: Merchants with significant payment volume are required to take precautions
on securing PayPal Payments Standard buttons.
For more information, see “Securing Your PayPal Payments Standard
Buttons” on page 337.”
1. Click the Select Code button on the Websites tab to select all of the generated HTML
code.
2. 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.
3. 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.
4. 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.
Copying and Pasting the Code for the Buy Now Email Payment Link
The Email tab on the You are viewing your button code page contains the generated URL
code for your email payment link.