|
|
|
@ -110,7 +110,7 @@ class NotifyController extends AbstractController
|
|
|
|
|
'transaction_id' => $params['transactionId'] ?? '',
|
|
|
|
|
'out_transaction_id' => $params['outTransactionId'] ?? '',
|
|
|
|
|
];
|
|
|
|
|
$order = $this->paymentService->updateOrder($info, 'APPLY_SUCCESS');
|
|
|
|
|
$order = $this->paymentService->updateOrder($info, ['APPLY_SUCCESS', 'PROCESS']);
|
|
|
|
|
if (empty($order)) {
|
|
|
|
|
return $baofu->notifySuccess();
|
|
|
|
|
}
|
|
|
|
@ -151,7 +151,7 @@ class NotifyController extends AbstractController
|
|
|
|
|
'amount' => $params['orderMoney'],
|
|
|
|
|
'finished_at' => $params['finishTime'],
|
|
|
|
|
];
|
|
|
|
|
$order = $this->paymentService->updateOrder($info, 'SUCCESS');
|
|
|
|
|
$order = $this->paymentService->updateOrder($info, ['SUCCESS']);
|
|
|
|
|
if (empty($order)) {
|
|
|
|
|
return $baofu->notifySuccess();
|
|
|
|
|
}
|
|
|
|
|