Commit 2aa6c194 authored by dingzhiwei's avatar dingzhiwei
Browse files

修改微信v2接口退款bug

parent 4e64d785
...@@ -84,8 +84,8 @@ public class WxpayRefundService extends AbstractRefundService { ...@@ -84,8 +84,8 @@ public class WxpayRefundService extends AbstractRefundService {
setCretPath(mchAppConfigContext, wxPayService); // 证书路径 setCretPath(mchAppConfigContext, wxPayService); // 证书路径
WxPayRefundResult result = wxPayService.refundV2(req); WxPayRefundResult result = wxPayService.refundV2(req);
if("SUCCESS".equals(result.getResultCode())){ //支付成功 if("SUCCESS".equals(result.getResultCode())){ // 退款发起成功,结果主动查询
channelRetMsg.setChannelState(ChannelRetMsg.ChannelState.CONFIRM_SUCCESS); channelRetMsg.setChannelState(ChannelRetMsg.ChannelState.WAITING);
channelRetMsg.setChannelOrderId(result.getRefundId()); channelRetMsg.setChannelOrderId(result.getRefundId());
}else{ }else{
channelRetMsg.setChannelState(ChannelRetMsg.ChannelState.CONFIRM_FAIL); channelRetMsg.setChannelState(ChannelRetMsg.ChannelState.CONFIRM_FAIL);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment