paypal沙盒测试notify_url不能返回问题

付款成功了,但设置了notify_url,我的程序却没有动静,求教大神!
我的notify_url=http://192.122.2.8:8080/paypalipn/ipn.jsp,

我的程序:

il = request.getParameter("receiver_email");
String payerEmail = request.getParameter("payer_email");

//check notification validation
if(res.equals("VERIFIED")) {
// check that paymentStatus=Completed
// check that txnId has not been previously processed
// check that receiverEmail is your Primary PayPal email
// check that paymentAmount/paymentCurrency are correct
// process payment
}
else if(res.equals("INVALID")) {
// log for investigation
}
else {
// error
}
%>
</body>
</html> 

2个回答

服务器端写log 定位问题

解决了吗,我也是,写了log,log写不进去,我把log权限都给开了都没用

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问