base
parent
efd6ef7f83
commit
8d89ba1a5f
|
|
@ -94,6 +94,8 @@ class PayService
|
|||
(new \App\Services\VipService())->success($payable, ['pay_at' => $payLog->pay_at]);
|
||||
}
|
||||
|
||||
// 延迟1分钟执行, 不然会出现错误信息: (10060001)支付单不存在
|
||||
sleep(60);
|
||||
// 订单支付成功, 调用发货信息API
|
||||
try {
|
||||
if (!$userId) {
|
||||
|
|
@ -109,9 +111,9 @@ class PayService
|
|||
}
|
||||
$data = [
|
||||
"order_key" => [
|
||||
"mchid" => config("wechat.payment.sub.mch_id"),
|
||||
"out_trade_no" => $payLog->pay_sn,
|
||||
"order_number_type" => 1,
|
||||
// "mchid" => config("wechat.payment.sub.mch_id"),
|
||||
// "out_trade_no" => $payLog->pay_sn,
|
||||
"order_number_type" => 2,
|
||||
"transaction_id" => $payLog->out_trade_no,
|
||||
],
|
||||
"logistics_type" => 4,
|
||||
|
|
|
|||
Loading…
Reference in New Issue