Integration Guide

Table Of Contents
Recurring Payments – Subscribe Buttons
Sample HTML Code for Subscribe Buttons
3
170 September 2008 Website Payments Standard Integration Guide
value="Size">Enter your size (S, M, L, X, XX) <br />
<input type="text" name="os0" maxlength="60"> <br />
<!-- Display the payment button. -->
<input type="image" name="submit" border="0"
src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif"
alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1"
src="https://www.paypal.com/en_US/i/scr/pixel.gif" >
</form>
The sample code above produces the following result on your webpage:
Paste the code onto your webpage below an image or a text description of the item.
Sample HTML Code for a Modify Subscription Button
The sample HTML code in this topic illustrates a Modify Subscription button, which lets
subscribers convert their current subscriptions to a new set of terms. Modify Subscription
buttons are useful for letting subscribers upgrade from one subscription level to another. The
subscription number remains the same as before; only the terms of the subscription change.
The sample code illustrates a Modify Subscription button with these features:
z A subscription price of $69.95 USD
z A 6-month billing cycle
z No limit on the number of billing cycles
z Subscribers can modify their current subscriptions to the above terms only; they cannot
sign up for additional, new subscriptions while keeping their current subscriptions.
The subscription ends only when canceled by the merchant or the subscriber.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="alice@mystore.com">
<!-- Specify a Subscribe button. -->
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<!-- Identify the subscription. -->
<input type="hidden" name="item_name" value="Alice's Weekly Digest">
<input type="hidden" name="item_number" value="DIG Weekly">