This commit is contained in:
2025-09-09 16:56:39 +05:00
parent 574176e4b2
commit 741de26eea

View File

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