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,