提交 e187c590 编写于 作者: C cbwleft

解决微信APP支付与文档上字段名称不一致的问题

上级 00076fd1
...@@ -97,12 +97,12 @@ public class PayChannel4WxServiceImpl extends BaseService implements IPayChannel ...@@ -97,12 +97,12 @@ public class PayChannel4WxServiceImpl extends BaseService implements IPayChannel
configMap.put("appid", appId); configMap.put("appid", appId);
// 此map用于客户端与微信服务器交互 // 此map用于客户端与微信服务器交互
payInfo.put("sign", SignUtils.createSign(configMap, wxPayConfig.getMchKey(), null)); payInfo.put("sign", SignUtils.createSign(configMap, wxPayConfig.getMchKey(), null));
payInfo.put("prepayId", wxPayUnifiedOrderResult.getPrepayId()); payInfo.put("prepayid", wxPayUnifiedOrderResult.getPrepayId());
payInfo.put("partnerId", partnerId); payInfo.put("partnerid", partnerId);
payInfo.put("appId", appId); payInfo.put("appid", appId);
payInfo.put("packageValue", packageValue); payInfo.put("package", packageValue);
payInfo.put("timeStamp", timestamp); payInfo.put("timestamp", timestamp);
payInfo.put("nonceStr", nonceStr); payInfo.put("noncestr", nonceStr);
map.put("payParams", payInfo); map.put("payParams", payInfo);
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册