From 741de26eea38db9f97e6eecf8093de4c09c220d9 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Tue, 9 Sep 2025 16:56:39 +0500 Subject: [PATCH] wip --- app/Helpers/helpers.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/Helpers/helpers.php b/app/Helpers/helpers.php index 3bf0339..36a56d8 100644 --- a/app/Helpers/helpers.php +++ b/app/Helpers/helpers.php @@ -447,8 +447,6 @@ function syncWithBankSystem( $amount = $online_payment_tmt_amount; $payPurpose = $pay_purpose; - info(['ecomId' => $ecomId, 'agentId' => $agentId, 'eposId' => $eposId, 'account' => $account, 'rrn' => $rrn, 'amount' => $amount, 'payPurpose' => $payPurpose]); - $client = new Client(); $headers = [ 'Content-Type' => 'application/json', @@ -459,10 +457,10 @@ function syncWithBankSystem( "agentId": "%s", "eposId": "%s", "account": "%s", - "rnn": "003196298124", + "rrn": "%s", "amount": "%s", "payPurpose": "%s" - }', $ecomId, $agentId, $eposId, $account, $amount, $payPurpose); + }', $ecomId, $agentId, $eposId, $account, $rrn, $amount, $payPurpose); $request = new GuzzleRequest('POST', 'http://10.3.158.102:8888/api/paytrn/new', $headers, $body);