mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-10-13 21:30:25 +00:00
fix: 微信V2退款回调退款号处理失败
This commit is contained in:
@@ -128,9 +128,9 @@ public class WechatRefundCallbackService {
|
||||
// 回调数据
|
||||
callbackInfo.setCallbackData(BeanUtil.beanToMap(result));
|
||||
// 网关退款号
|
||||
callbackInfo.setOutTradeNo(result.getTransactionId());
|
||||
callbackInfo.setOutTradeNo(result.getRefundId());
|
||||
// 退款号
|
||||
callbackInfo.setTradeNo(result.getRefundId());
|
||||
callbackInfo.setTradeNo(result.getOutRefundNo());
|
||||
// 退款状态 - 成功
|
||||
if (Objects.equals(RefundStatus.SUCCESS, result.getRefundStatus())){
|
||||
callbackInfo.setTradeStatus(RefundStatusEnum.SUCCESS.getCode());
|
||||
|
Reference in New Issue
Block a user