Commit 7c861d26 by chongli

加入微信支付回调调试信息

parent 8351420b
...@@ -128,6 +128,7 @@ public abstract class AbstractNotifyService extends CorePaymentService { ...@@ -128,6 +128,7 @@ public abstract class AbstractNotifyService extends CorePaymentService {
return notifyResponseBean; return notifyResponseBean;
} }
public String notifyForWeiXinPay(String xml) throws Exception{ public String notifyForWeiXinPay(String xml) throws Exception{
logger.error("weixin pay call xml in AbstractNotifyService notifyForWeiXinPay:"+xml);
Map<String,Object> notifyMap = WXUtil.doXMLParse(xml); Map<String,Object> notifyMap = WXUtil.doXMLParse(xml);
if(notifyMap.get("return_code").equals("SUCCESS")){ if(notifyMap.get("return_code").equals("SUCCESS")){
String orderNo = notifyMap.get("out_trade_no").toString();//商户订单号 String orderNo = notifyMap.get("out_trade_no").toString();//商户订单号
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment