我正在使用以下代码来生成“立即购买”按钮以销售单个项目。 它将我带到PayPal使用沙箱,并付款,但在返回后没有收到任何响应(在我得到的URL中没有额外的参数)。Paypal立即购买按钮事务响应问题
<form name="_xclick" action="https://www.sandbox.paypal.com/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Book_1">
<input type="hidden" name="amount" value="0.09">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="return" value="http://www.thequeenoflean.com.au">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
</form>
我可以在get或post中获取数据吗?
其实我想检索买家的电子邮件和其他一些信息。
任何人都可以引导我什么是我的错误在这里?
在此先感谢。
我不相信这就是你永远不会收到信息的原因,这只是一个额外的原因,原因是因为你没有通知网址,它恰好也是如此,你有你当前的情况。如果用户从不点击返回到网站,您将永远不会收到付款数据,因此您需要在表单中实施notify_url。 – 2012-07-22 15:03:35