|
|
|
@ -16,6 +16,7 @@ import com.bnyer.pay.bean.bo.UnifiedOrderBo; |
|
|
|
import com.bnyer.pay.constant.DYPayConstants; |
|
|
|
import com.bnyer.pay.bean.dto.EditPayInfoNotifyDto; |
|
|
|
import com.bnyer.pay.bean.dto.PayNotifyCheckDto; |
|
|
|
import com.bnyer.pay.enums.EnumDyPayStatus; |
|
|
|
import com.bnyer.pay.enums.EnumPayChannel; |
|
|
|
import com.bnyer.pay.enums.EnumPayConfigStatus; |
|
|
|
import com.bnyer.pay.mapper.DypayConfigMapper; |
|
|
|
@ -213,7 +214,7 @@ public class DYPayStrategy extends AbstractPayStrategy{ |
|
|
|
//抖音侧订单号
|
|
|
|
String dyOrderId = msgJsonObj.getString("order_id"); |
|
|
|
//这里无论回调失败还是成功,都需要都各个业务层去处理相关逻辑
|
|
|
|
if(!"success".equals(status)){ |
|
|
|
if(EnumDyPayStatus.SUCCESS.getStatus().equals(status)){ |
|
|
|
log.info("抖音支付回调不是支付成功不做处理:支付状态:{},payId:{}",status,outOrderNo); |
|
|
|
return super.buildNotifyCheckResultMsg(EnumPayType.DY_PAY,false,"trade fail"); |
|
|
|
} |
|
|
|
|