把paypal集成到网站,提交订单点击付款后,去到的paypal页面,提示需要登陆或者注册才能付款。
如何使顾客不注册或者不登陆paypal都能用信用卡付款?
php的程序代码:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="PHPSESSID" value="43198" />
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="<?=$paypalemail?>">
<input type="hidden" name="item_number" value="Payment: <?=date("Ymd").$aInSertId?>">
<input type="hidden" name="item_name" value="<?=date("Ymd").$aInSertId?>">
<input type="hidden" name="amount" value="<?php echo number_format(($aTotalAmount + $aDeliverFee),2); ?>">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="<?=$forpaypal?>">
<input type="hidden" name="lc" value="<?=$forpaypal?>">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but5.gif"
border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="upload/201103251616163082.gif" width="1" height="1">
</form>◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。