我有这个贝宝按钮:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="myPayPalAccount@gmail.com">
<!-- Specify a Buy Now button. -->
<input type="hidden" name="cmd" value="_xclick">
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name" value="item-to-buy">
<input type="hidden" name="amount" value="5">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="return" value="mywordpressblog.com/return-url/">
<!-- Display the payment button. -->
<input type="image" name="submit" border="0" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" alt="Pay Now">
<img alt="" border="0" width="1" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >
</form>
如何在我的返回网址(mywordpressblog.com/return-url/)中获取自定义WordPress页面的所有付款详情?
我至少需要知道付款是否成功,并显示后续消息并对数据库进行更新。
提前感谢您的建议。
答案 0 :(得分:0)