From 574176e4b2d5dda9ddc08296c7982fefe84da0cb Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Tue, 9 Sep 2025 16:55:09 +0500 Subject: [PATCH] wip --- app/Helpers/helpers.php | 6 +++--- app/Nova/Actions/Sber/SyncWithSystem.php | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/Helpers/helpers.php b/app/Helpers/helpers.php index d199476..3bf0339 100644 --- a/app/Helpers/helpers.php +++ b/app/Helpers/helpers.php @@ -459,11 +459,11 @@ function syncWithBankSystem( "agentId": "%s", "eposId": "%s", "account": "%s", - "rnn": "%s", + "rnn": "003196298124", "amount": "%s", "payPurpose": "%s" - }', $ecomId, $agentId, $eposId, $account, $rrn, $amount, $payPurpose); - + }', $ecomId, $agentId, $eposId, $account, $amount, $payPurpose); + $request = new GuzzleRequest('POST', 'http://10.3.158.102:8888/api/paytrn/new', $headers, $body); try { diff --git a/app/Nova/Actions/Sber/SyncWithSystem.php b/app/Nova/Actions/Sber/SyncWithSystem.php index e34073d..6e0c009 100644 --- a/app/Nova/Actions/Sber/SyncWithSystem.php +++ b/app/Nova/Actions/Sber/SyncWithSystem.php @@ -55,8 +55,6 @@ class SyncWithSystem extends Action ]); } - info(['bank_response' => $response, 'a' => $response['authRefNum']]); - $systemRawResponse = syncWithBankSystem( online_payment_order_uuid: $onlinePaymentResource->orderId, bank_unique_code: $sberPaymentOrder->branch->unique_code,