支付宝notify_url不执行,谁知道是什么原因。我调试了很久,找不到解决的办法,请各位大神棒棒忙
//支付类型
String payment_type = "1";
ActiveOrder activeOrder = (ActiveOrder)request.getAttribute("activeOrder");
String projectUrl = (String)request.getAttribute("projectUrl");
//必填,不能修改
//服务器异步通知页面路径
String notify_url =projectUrl+"/pc/alipay/notify2";
//request.getSession().setAttribute("yorderId", activeOrder.getOrderId());
//需http://格式的完整路径,不能加?id=123这类自定义参数
//页面跳转同步通知页面路径
//String return_url = projectUrl+"/pc/pv/order/detail?orderId="+order.getOrderId();
String return_url =projectUrl+"/pc/pv/myWinningCode";
//需http://格式的完整路径,不能加?id=123这类自定义参数,不能写成http://localhost/
//商户订单号
String out_trade_no = new String(activeOrder.getOrderCode().getBytes("ISO-8859-1"),"UTF-8");
//商户网站订单系统中唯一订单号,必填
大神快戳进来帮我看看吧
不执行,是不是之前提交的请求有问题。支付宝根本没通过
检查下apk的key之类配置