Integration Guide

Table Of Contents
Recurring Payments – Automatic Billing Buttons
Sample HTML Code for Automatic Billing Buttons
4
214 June 2012 PayPal Payments Standard Integration Guide
Sample HTML Code for Choosing Limits with Automatic Billing Buttons
The sample URL code below illustrates an Automatic Billing button with these features:
A dropdown menu for buyers to choose a maximum billing limit, from choices $240 USD,
$300 USD, and $450 USD
The item name and description “Regular House Cleaning” above the button
The buyers address required during checkout
<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 payment plan. -->
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name" value="Regular House Cleaning">
<input type="hidden" name="set_customer_limit"
value="max_limit_defined">
<!-- Make sure you get the buyer’s address during checkout. -- >
<input type="hidden" name="no_shipping" value="2">
<!-- Specify the price that PayPal uses for each option. -->
<input type="hidden" name="option_select0" value="240">
<input type="hidden" name="option_amount0" value="240">
<input type="hidden" name="option_select1" value="300">
<input type="hidden" name="option_amount1" value="300">
<input type="hidden" name="option_select2" value="450">
<input type="hidden" name="option_amount2" value="450">
<input type="hidden" name="option_index" value="0">
<!-- Display the description and a dropdown of options with prices. -->