Integration Guide

Table Of Contents
Recurring Payments – Subscribe Buttons
Creating Advanced Subscribe Buttons on the PayPal Website
3
158 June 2012 PayPal Payments Standard Integration Guide
Copying and Pasting the Subscribe Code
After you click the Create Button button, PayPal displays the You are viewing your button
code page. The page contains tabs with button code for specific situations:
Website – Copy and paste the HTML button code on this tab onto the pages of your
website.
Email – Copy and paste the URL email payment link code on this tab into email templates
and messages, or paste it onto webpages if your hosting provider does not allow you to
paste HTML code.
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 Your Subscribe 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 Website 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 place your 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: