PayPal WPS - “Buy Now”按钮示例代码

“Buy Now”按钮示例代码

Buy Now

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  <input type="hidden" name="cmd" value="_xclick">
  <input type="hidden" name="business" value="paypal@yoursite.com"> 用来收款的PayPal账户
  <input type="hidden" name="item_name" value="item_name"> 商品名字
  <input type="hidden" name="amount" value="000.00"> 商品价格
  <input type="hidden" name="currency_code" value="USD"> 货币种类
  <input type="hidden" name="lc" value="US"> 客户所在国家
  <input type="hidden" name="return" value="http://www.yoursite.com/thanks.html">客户付款完成后返回地址
  <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif"
    border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

 

 

posted @ 2014-04-07 17:16  paullam  阅读(501)  评论(0编辑  收藏  举报