| @@ -416,6 +416,7 @@ public class WxRefundAdapterService implements RefundPayAdapterService{ | |||||
| record.getTransactionId(), record.getPayOrderNo(), String.valueOf(record.getId()), | record.getTransactionId(), record.getPayOrderNo(), String.valueOf(record.getId()), | ||||
| record.getRefundId(), payAccount.getApiKey()); | record.getRefundId(), payAccount.getApiKey()); | ||||
| String response = WxPay.orderRefundQuery(paramMap); | String response = WxPay.orderRefundQuery(paramMap); | ||||
| log.info("微信退款订单:" + record.toString() + ", response: " + response.toString()); | |||||
| Map<String, String> returnMap = WxPayment.xmlToMap(response); | Map<String, String> returnMap = WxPayment.xmlToMap(response); | ||||
| String return_code = returnMap.get("return_code"); | String return_code = returnMap.get("return_code"); | ||||
| if("SUCCESS".equals(return_code)){ | if("SUCCESS".equals(return_code)){ | ||||
| @@ -460,6 +461,7 @@ public class WxRefundAdapterService implements RefundPayAdapterService{ | |||||
| appInfo.getParentAppId(), appInfo.getAppId(), payAccount.getMchId(), payAccount.getSubMchId(), | appInfo.getParentAppId(), appInfo.getAppId(), payAccount.getMchId(), payAccount.getSubMchId(), | ||||
| record.getTransactionId(), record.getPayOrderNo(), String.valueOf(record.getId()), record.getRefundId(), payAccount.getApiKey()); | record.getTransactionId(), record.getPayOrderNo(), String.valueOf(record.getId()), record.getRefundId(), payAccount.getApiKey()); | ||||
| String response = WxPay.orderRefundQuery(paramMap); | String response = WxPay.orderRefundQuery(paramMap); | ||||
| log.info("微信退款订单:" + record.toString() + ", response: " + response.toString()); | |||||
| Map<String, String> returnMap = WxPayment.xmlToMap(response); | Map<String, String> returnMap = WxPayment.xmlToMap(response); | ||||
| String return_code = returnMap.get("return_code"); | String return_code = returnMap.get("return_code"); | ||||
| if("SUCCESS".equals(return_code)){ | if("SUCCESS".equals(return_code)){ | ||||