以下页面列出了“立即购买”按钮的最低要求信息.我已经包括了最简单的例子:
https://www.paypal.com/cgi-bin/webscr?cmd=_pdn_xclick_techview_outside
<?PHP echo '<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="me@mybusiness.com"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="item_name" value="Teddy Bear"> <input type="hidden" name="amount" value="12.99"> <input type="image" src="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast,free and secure!"> </form>';
不要忘记逃避任何“’”字符(单引号).