diff --git a/app/Nova/Actions/Sber/SyncWithSystem.php b/app/Nova/Actions/Sber/SyncWithSystem.php index df73e4a..e8651a2 100644 --- a/app/Nova/Actions/Sber/SyncWithSystem.php +++ b/app/Nova/Actions/Sber/SyncWithSystem.php @@ -48,7 +48,11 @@ class SyncWithSystem extends Action $response = checkOnlinePayment($onlinePaymentResource->orderId, $result['username'], $result['password']); - if ($response['errCode'] != 0) { + info([ + 'response' => $response, + ]); + + if ($response['errorCode'] != 0) { return Action::modal('modal-response', [ 'title' => 'HALKBANK API', 'body' => $response['errorMessage'],