Integration Guide

Table Of Contents
Recurring Payments – Subscribe Buttons
Advanced Features of Subscribe Buttons
3
140 June 2012 PayPal Payments Standard Integration Guide
by subscription. Follow the instructions for “Step 2 – Tracking Inventory and Profit and
Loss with Your Subscribe Button” on page 153.
3. Click the Step 3 bar, and then follow the instructions for “Step 3 – Adding Advanced
Features to Your Subscribe Button” on page 156.
Add any advanced features that you want for the modified subscription.
Select the Add Advanced Variables checkbox; then in the text box below it, enter one
of the following lines of code:
modify="1"Add this line of code to let subscribers modify their active subscriptions
or sign up for new, additional subscriptions. If a subscriber has an active subscription,
PayPal displays a page during checkout for accepting the new terms and pricing, with a
link to a page to sign up for a new, additional subscription with the new terms and
pricing. If a subscriber has a prior subscription that ended or was canceled, PayPal lets
the subscriber sign up for a new subscription with the modified terms and prices.
modify="2" – Add this line of code to let subscribers modify existing subscriptions
only. If a a subscriber has an active subscription, PayPal displays a page during
checkout for accepting the new terms and pricing. The page does not allow subscribers
to sign up for new subscriptions.
4. Click the Create Button button.
The Add a Subscribe button to your website page or the You've created your button
pages opens, depending on whether you are saving the button in you PayPal account.
5. Follow the procedure for “Copying and Pasting the Subscribe Code” on page 158.
For more information, see “Sample HTML Code for a Modify Subscription Button” on
page 167.
Creating Modify Subscription Buttons with JavaScript Disabled. To create a Modify
Subscription button with JavaScript disabled:
1. Follow the procedure for “Creating Advanced Subscribe Buttons on the PayPal Website”
on page 146.
Specify the terms and pricing that will apply after the subscriptions are modified.
Select a button image that reads “Subscribe.”
Make sure you select the No radio button in the section about button encryption.
2. Click the Create Button Now button.
The Add a Subscribe button to your website page opens.
3. For a payment button, follow the procedure for “Copying and Pasting the HTML Code for
Your Subscribe Button” on page 158 to copy and paste everything in the HTML code for
Websites text box onto your webpage. Then, add the following code.
Do one of the following between the <form> and </form> tags in the pasted code: