Integration Guide

Table Of Contents
Website Payments Standard Integration Guide September 2008 139
Recurring Payments – Subscribe Buttons
Advanced Features of Subscribe Buttons
3
z PayPal collects no more recurring payments from Bob.
Creating Unsubscribe Buttons
Do one of following to add Unsubscribe buttons to your website:
z Create an Unsubscribe button as an optional step when you create your Subscribe button by
using the creation tool on the PayPal website
See one of the following:
“Using the Button Creation Tool for an Unsubscribe Button” on page 154
Step 2 of “Page 2 – Specifying Advanced Features of Your Subscribe Button” on
page 159
z Write the HTML code for Cancel Subscription buttons manually.
See “Sample HTML Code for an Unsubscribe Button” on page 171.
Generating Usernames and Passwords With Subscribe Buttons
Let PayPal generate unique usernames and passwords for your subscribers when they sign up
for subscription memberships to your website. Use PayPal Subscriptions Password
Management to enable access to members only content on your website automatically.
IMPORTANT: Subscriptions Password Management and Auto Return are incompatible.
Turn Auto Return off if you want PayPal to manage subscription passwords.
For more information, see “Auto Return” on page 271.
How Subscriptions Password Management Works
After subscribers sign up for your subscription, PayPal generates their usernames and
passwords automatically. PayPal displays the generated values to subscribers on the PayPal
payment confirmation page and in the PayPal confirmation email. In addition, PayPal displays
generated usernames and initial passwords to subscribers from their PayPal accounts.
Your website uses the generated usernames and initial passwords to set up new accounts so
that your subscribers can log in. Your website receives new subscription messages through
Instant Payment Notification, which requires advanced programming skills to implement.
After you implement Instant Payment Notification on your website, you write additional
programming code that captures the generated usernames and initial passwords for new
subscriptions. You should also write code to capture cancellation and end-of-term notices, so
that you can update your member database to turn off access to members only content.
For more information about Instant Payment Notification, see the Order Management
Integration Guide.
Downloading the Subscriptions Password Management Perl Script
PayPal provides a Perl script that you can use to help automate access to members only
content for new subscribers, provided your website uses “Basic Authentication” with an
Apache web server that runs on Linux. The Perl script interacts with Instant Payment
Notification to automatically activate and deactivate subscriber accounts on your website.