我目前正在测试PHP网站上的立即购买按钮。下面是代码我有(或多或少):我是否收到所有事件的Paypal立即购买按钮回拨?
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="........"
<input type="image" src="https://www.paypalobjects.com/fr_CA/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - la solution de paiement en ligne la plus simple et la plus sécurisée !">
<img alt="" border="0" src="https://www.sandbox.paypalobjects.com/fr_CA/i/scr/pixel.gif" width="1" height="1">
<input name="notify_url" value="https://www.example.com/paypal_notifications.php" type="hidden">
</form>
沙箱事务工作(发送完成),但我不知道是否我将只得到一次性的消息或更新。
如果付款被撤销 - 比如说 - 一周后,我会收到一个活动吗? (有没有办法立即撤销沙箱帐户内的付款?)
我只使用notify_url而不是帐户中的IPN设置,因为该帐户与多个网站一起使用(并且我无法找到它......:P)。
哇,谢谢。你一直非常详尽! – beppe9000
非常明确的解释@戴 – Sol