wip
This commit is contained in:
@@ -447,16 +447,6 @@ function syncWithBankSystem(
|
|||||||
$amount = $online_payment_tmt_amount;
|
$amount = $online_payment_tmt_amount;
|
||||||
$payPurpose = $pay_purpose;
|
$payPurpose = $pay_purpose;
|
||||||
|
|
||||||
return [
|
|
||||||
'ecomId' => $ecomId,
|
|
||||||
'agentId' => $agentId,
|
|
||||||
'eposId' => $eposId,
|
|
||||||
'account' => $account,
|
|
||||||
'rrn' => $rrn,
|
|
||||||
'amount' => $amount,
|
|
||||||
'payPurpose' => $payPurpose,
|
|
||||||
];
|
|
||||||
|
|
||||||
$curl = curl_init();
|
$curl = curl_init();
|
||||||
|
|
||||||
curl_setopt_array($curl, [
|
curl_setopt_array($curl, [
|
||||||
@@ -464,7 +454,7 @@ function syncWithBankSystem(
|
|||||||
CURLOPT_RETURNTRANSFER => true,
|
CURLOPT_RETURNTRANSFER => true,
|
||||||
CURLOPT_ENCODING => '',
|
CURLOPT_ENCODING => '',
|
||||||
CURLOPT_MAXREDIRS => 10,
|
CURLOPT_MAXREDIRS => 10,
|
||||||
CURLOPT_TIMEOUT => 1,
|
CURLOPT_TIMEOUT => 5,
|
||||||
CURLOPT_FOLLOWLOCATION => true,
|
CURLOPT_FOLLOWLOCATION => true,
|
||||||
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
||||||
CURLOPT_CUSTOMREQUEST => 'POST',
|
CURLOPT_CUSTOMREQUEST => 'POST',
|
||||||
|
|||||||
Reference in New Issue
Block a user