Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 165
Recurring Payments – Subscribe Buttons
Sample HTML Code for Subscribe Buttons
3
Button” on page 156, beginning with Step 5. The pages of the button creation tool retain the
options that you previously specified.
Avoiding Problems With Pasted HTML Code
After you paste the code onto your webpage or into your email, ensure that it matches exactly
the code that you copied from PayPal. Pasted code may not match the generated code for the
following reasons:
z You did not copy all of the generated code.
z Your editing tool may have special areas for pasting HTML code and other areas for
pasting URLs and display text. Be sure you paste the generated code into a field that
accepts HTML code or URLs.
z Your editing tool might change some characters in the pasted code.
Sample HTML Code for Subscribe Buttons
The sample HTML code in this section demonstrates various features of Subscribe buttons:
z “Sample HTML Code for a Basic Subscribe Button” on page 165
z “Sample HTML Code for a Subscribe Button With Trial Periods” on page 166
z “Sample HTML Code for a Subscribe Button With Limits on Billing Cycles” on page 167
z “Sample HTML Code for Subscribe Buttons With Product Options” on page 168
z “Sample HTML Code for a Modify Subscription Button” on page 170
z “Sample HTML Code for an Unsubscribe Button” on page 171
z “Sample HTML Code for a Subscribe Button With Password Management” on page 172
z “Sample HTML Code for a Subscribe Button That Reattempts Payments” on page 172
To protect against malicious users tampering with the HTML code for your Subscribe buttons
and submitting fraudulent payments, see Chapter 6, “Securing Your Website Payments
Standard Buttons.”
IMPORTANT: Organizations with significant payment volume are required to take
precautions on securing Website Payment Standard buttons.
Sample HTML Code for a Basic Subscribe Button
The sample HTML code below illustrates a basic Subscribe button with these features:
z No trial periods
z A subscription price of $5.00 USD
z A 1-month billing cycle