nozuo_nodie
2015-01-20 09:15paypal沙盒测试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条回答
为你推荐
- PayPal沙箱IPN验证始终返回INVALID
- php
- 2个回答
- PayPal生产与沙箱的工作方式不同
- paypal
- php
- 1个回答
- 沙盒paypal在线支付成功后返回非法参数invalid
- paypal
- java
- 沙盒
- 测试
- 2个回答