This commit is contained in:
2025-09-09 16:20:58 +05:00
parent 146266226b
commit d4a4c3d3f4

View File

@@ -447,16 +447,6 @@ function syncWithBankSystem(
$amount = $online_payment_tmt_amount;
$payPurpose = $pay_purpose;
return [
'ecomId' => $ecomId,
'agentId' => $agentId,
'eposId' => $eposId,
'account' => $account,
'rrn' => $rrn,
'amount' => $amount,
'payPurpose' => $payPurpose,
];
$curl = curl_init();
curl_setopt_array($curl, [
@@ -464,7 +454,7 @@ function syncWithBankSystem(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 1,
CURLOPT_TIMEOUT => 5,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',