Integration Guide

Table Of Contents
PayPal Payments Standard Integration Guide June 2012 213
Recurring Payments – Automatic Billing Buttons
Sample HTML Code for Automatic Billing Buttons
4
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- Identify your business so that you can bill for payments. -->
<input type="hidden" name="business" value="your-secure-merchant-ID">
<!-- Specify an Automatic Billing button. -->
<input type="hidden" name="cmd" value="_xclick-auto-billing">
<!-- Specify details about the automatic billing plan. -->
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name" value="Regular House Cleaning">
<input type="hidden" name="max_text" value="Regular House Cleaning">
<input type="hidden" name="set_customer_limit" value="max_limit_own">
<input type="hidden" name="min_amount" value="240.00">
<!-- Make sure you get the buyer’s address during checkout. -- >
<input type="hidden" name="no_shipping" value="2">
<!-- Display the description and a text box to enter the maximum. -->
<table>
<tr><td><strong>Regular House Cleaning</strong></td></tr>
<tr><td>Enter the maximum amount you want to
pay each month.</td></tr>
<tr><td>$ <input type="text"
name="max_amount" value=""> USD</td></tr>
<!-- Inform buyers of the monthly minimum payment -->
<tr><td>You will pay at least $240.00 USD.</td></tr>
</table>
<!-- Display the Automatic Billing button -->
<table>
<tr><td align=center><i>Sign up for</i></td></tr>
<tr><td><input type="image" border="0" name="submit"
src="https://www.paypal.com/en_US/i/btn/btn_auto_billing_LG.gif"
alt="PayPal - The safer, easier way to pay online!"></td></tr>
</table>
<img alt="" border="0" width="1" height="1"
src="https://www.stage2sc4078.qa.paypal.com/en_US/i/scr/pixel.gif"
</form>
The preceding sample code produces the following result on your webpage: