Integration Guide

Table Of Contents
Recurring Payments – Subscribe Buttons
Creating Advanced Subscribe Buttons on the PayPal Website
3
152 September 2008 Website Payments Standard Integration Guide
gave to your custom payment page. If you were to include the variable in HTML code that
you write manually, you would use the standard HTML format:
<input type="hidden" name="page_style" value="myPageStyle">
Enter the variables in the text box using the shortened, name/value-pair format, instead:
page_style=myPageStyle
Do not enclose values in quotes, even if values contain spaces. PayPal surrounds the value
from the equal sign (=) to the end of the line with quotes in the generated HTML code.
For more information, see Chapter 11, “HTML Form Basics for Website Payments
Standard.
5. Do one of the following:
Click the Create Button button if you specified all the features for your button.
Follow the instructions for “Copying and Pasting the Subscribe Code” on page 152.
Scroll to the top of the page and click the Step 1 bar if you want to adjust the basic
features of your button.
Follow the instructions for “Step 1 – Specifying Basic Features of Your Subscribe
Button” on page 144, beginning with Step 5.
Scroll to the top of the page and click the Step 2 bar if you want to adjust information
that PayPal uses to track inventory levels or if you do not want to save your button in
your PayPal account.
Follow the instructions for “Step 2 – Tracking Inventory With Your Subscribe Button”
on page 149.
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 Subscribe code for specific situations:
z Website – Copy and paste the HTML button code on this tab onto the pages of your
website.
z 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 the Subscribe Button. The Website tab on the
You are viewing your button code page contains the generated HTML code for your
Subscribe payment button.
If in “Step 2 – Tracking Inventory With Your Subscribe Button” on page 149 you specified
that you do not want to save your button in your Paypal account, PayPal protects the generated
HTML button code with encryption. 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