...
|
...
|
@@ -6,6 +6,7 @@ import com.google.common.base.Splitter; |
|
|
import com.yoho.error.ServiceError;
|
|
|
import com.yoho.error.exception.ServiceException;
|
|
|
import com.yohobuy.ufo.model.order.bo.OrderInfo;
|
|
|
import com.yohobuy.ufo.model.order.common.OrderCodeType;
|
|
|
import com.yohobuy.ufo.model.order.common.Payment;
|
|
|
import com.yohobuy.ufo.model.user.resp.AuthorizeResultRespVO;
|
|
|
import com.yohoufo.common.utils.*;
|
...
|
...
|
@@ -19,6 +20,8 @@ import com.yohoufo.order.model.PayRefundBo; |
|
|
import com.yohoufo.order.model.PaymentData;
|
|
|
import com.yohoufo.order.model.TransferData;
|
|
|
import com.yohoufo.order.service.pay.AbstractPayService;
|
|
|
import com.yohoufo.order.service.support.codegenerator.OrderCodeGenerator;
|
|
|
import com.yohoufo.order.service.support.codegenerator.bean.CodeMeta;
|
|
|
import com.yohoufo.order.service.transfer.TransferChannel;
|
|
|
import com.yohoufo.order.service.transfer.TransferResult;
|
|
|
import com.yohoufo.order.utils.AlipayExceedMillionTransferErrors;
|
...
|
...
|
@@ -68,6 +71,10 @@ public abstract class AlipayServiceAbstract extends AbstractPayService { |
|
|
|
|
|
|
|
|
@Autowired
|
|
|
OrderCodeGenerator orderCodeGenerator;
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
private OrdersPayHbfqMapper ordersPayHbfqDao;
|
|
|
|
|
|
|
...
|
...
|
@@ -638,6 +645,11 @@ public abstract class AlipayServiceAbstract extends AbstractPayService { |
|
|
tradeNo = outTradeNo;
|
|
|
}
|
|
|
|
|
|
// 入驻or充值 不允许用支付信用卡入口
|
|
|
CodeMeta codeMeta = orderCodeGenerator.expId(Long.parseLong(tradeNo));
|
|
|
if (codeMeta.getType() == OrderCodeType.SELLER_RECHARGE_EARNEST_TYPE.getType()){
|
|
|
params.put("disable_pay_channels", "credit_group"); // 禁用信用卡
|
|
|
}
|
|
|
|
|
|
JSONObject bizJson = new JSONObject(true);
|
|
|
bizJson.put("timeout_express", payExpireTime+"m"); //该订单允许的最晚付款时间
|
...
|
...
|
|