Showing
1 changed file
with
2 additions
and
1 deletions
@@ -216,7 +216,8 @@ public class PaymentServiceImpl implements IPaymentService { | @@ -216,7 +216,8 @@ public class PaymentServiceImpl implements IPaymentService { | ||
216 | AbstractPayService payService = getPayService(request.getPayment()); | 216 | AbstractPayService payService = getPayService(request.getPayment()); |
217 | 217 | ||
218 | long orderCode = orderInfo.getOrderCode(); | 218 | long orderCode = orderInfo.getOrderCode(); |
219 | - String tradeNo = String.valueOf(orderInfo.getOrderCode()); | 219 | + //第三方支付订单号 |
220 | + String tradeNo = orderInfo.getOutTradeNo(); | ||
220 | 221 | ||
221 | // 花呗分期的场合 用于退款的 out_trade_no = 支付时传给第三方的 out_trade_no = order_code + 花呗分期期数 | 222 | // 花呗分期的场合 用于退款的 out_trade_no = 支付时传给第三方的 out_trade_no = order_code + 花呗分期期数 |
222 | if (payment == Payment.ALIPAY_HBFQ) { | 223 | if (payment == Payment.ALIPAY_HBFQ) { |
-
Please register or login to post a comment