From 78d7065b8685cd3ad5d6e3385c4f9d8db21a3028 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Tue, 9 Sep 2025 11:40:13 +0500 Subject: [PATCH] wip --- app/Nova/Actions/Sber/SyncWithSystem.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Nova/Actions/Sber/SyncWithSystem.php b/app/Nova/Actions/Sber/SyncWithSystem.php index ed8b3ec..6df87dc 100644 --- a/app/Nova/Actions/Sber/SyncWithSystem.php +++ b/app/Nova/Actions/Sber/SyncWithSystem.php @@ -49,7 +49,7 @@ class SyncWithSystem extends Action $response = checkOnlinePayment($onlinePaymentResource->orderId, $result['username'], $result['password']); - info(syncWithBankSystem( + $systemResponse = syncWithBankSystem( online_payment_order_uuid: $onlinePaymentResource->orderId, bank_unique_code: $sberPaymentOrder->branch->unique_code, online_payment_terminal_id: $response['terminalId'], @@ -57,11 +57,11 @@ class SyncWithSystem extends Action online_payment_auth_ref_num: $response['authRefNum'], online_payment_tmt_amount: $orderItem->tmt_payment_amount, pay_purpose: $sberPaymentOrder->created_at->translatedFormat('F').' '.$sberPaymentOrder->created_at->format('Y') - )); + ); return Action::modal('modal-response', [ - 'title' => 'HALKBANK API', - 'html' => CheckOnlinePayment::resultHTML($response), + 'title' => 'SYSTEM API', + 'html' => CheckOnlinePayment::resultHTML($systemResponse), ]); }