wip
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user