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);