没有在PayPal Sandbox中获得对侦听器的IPN响应

时间:2015-04-07 09:32:42

标签: paypal paypal-ipn

我在PayPal沙箱按钮中创建了一个创建的递归付款按钮。但是在付款后从PayPal付款返回测试帐户时,IPN响应没有返回。在检查IPN历史记录时,它显示IPN消息已生成。

侦听器中的ipn_POST_data为空。

同样适用于简单的订阅按钮。

1 个答案:

答案 0 :(得分:0)

我得到了答案

我们需要将变量'rm'设置为2。

<input type="hidden" name="rm" value="2">

0 – all shopping cart payments use the GET method
1 – the buyer's browser is redirected to the return URL by using the GET method, but no payment variables are included
2 – the buyer's browser is redirected to the return URL by using the POST method, and all payment variables are included

默认情况下,rm的值为0。

谢谢......