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