我创建了一个在PayPal沙盒按钮中创建的递归支付按钮。但在付款后从PayPal付款返回测试帐户时,IPN响应不会返回。在检查IPN历史时,它显示IPN消息已经生成。
ipn_POST_data在侦听器中为null。
简单的订阅按钮也是如此。
我得到了答案
我们需要将变量"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。
谢谢。。。