Integration Guide

Table Of Contents
Integrating Your Website Using API
Using the Button Manager API with Hosted Solution Checkout
42
Example for TOKEN
WEBSITECODE=<form action="https://www.paypal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="HSS-
2MTCOLOp9LoPGdFYsYclhbGyjJVNrMHO">
<input type="image"
src="https://www.paypal.com/en_US/i/btn/btn_auto_billing_LG.gif" border="0"
name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif"
width="1" height="1">
</form>
Example for ENCRYPTED
WEBSITECODE=<form action="https://www.paypal.com/cgi-bin/webscr"
method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="BEGIN PKCS7......END PKCS7">
<input type="image"
src="https://www.paypal.com/en_US/i/btn/btn_auto_billing_LG.gif" border="0"
name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif"
width="1" height="1">
</form>
Example of CLEARTEXT
WEBSITECODE=<form action="https://www.paypal.com/acquiringweb"
method="post">
<input type="hidden" name="cmd" value="_hosted-payment">
<input type="hidden" name="business" value="test1@paypal.com">
<input type="hidden" name="tax" value="2">
<input type="hidden" name="shipping" value="3">
<input type="hidden" name="business" value="K5HHZSMWMCN58">
<input type="hidden" name="subtotal" value="11">
<input type="hidden" name="paymentaction" value="sale">
<input type="hidden" name="handling" value="4">
<input type="image"
src="https://www.paypal.com/en_US/i/btn/btn_auto_billing_LG.gif" border="0"
name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif"
width="1" height="1">
</form>