Integration Guide

Table Of Contents
37
Integrating iFrame in Your Website
Integrating iFrame
Example of API (Form POST) Integration
The complete example as per the above steps is as follows:
<iframe name="hss_iframe" width="570px" height="540px"></iframe>
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-
bXkpgPTNgZi7CyfIwWTAkWPSDbKziokU">
<input type="image" src="https://www.paypal.com/i/btn/btn_paynow_LG.gif"
border="0" name="submit" alt="PayPal - The safer, easier way to pay
online.">
<img alt="" border="0" src="https://www.paypal.com/i/scr/pixel.gif"
width="1" height="1">
</form>
<script type="text/javascript">
document.form_iframe.submit();
</script>