wip
This commit is contained in:
@@ -454,22 +454,22 @@ function syncWithBankSystem(
|
||||
CURLOPT_RETURNTRANSFER => true,
|
||||
CURLOPT_ENCODING => '',
|
||||
CURLOPT_MAXREDIRS => 10,
|
||||
CURLOPT_TIMEOUT => 5,
|
||||
CURLOPT_TIMEOUT => 0,
|
||||
CURLOPT_FOLLOWLOCATION => true,
|
||||
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
||||
CURLOPT_CUSTOMREQUEST => 'POST',
|
||||
CURLOPT_POSTFIELDS => sprintf('{
|
||||
"ecomId": "%s",
|
||||
"agentId": "%s",
|
||||
"eposId": "%s",
|
||||
"account": "%s",
|
||||
"rrn": "%s",
|
||||
"amount": "%s",
|
||||
"payPurpose": "%s"
|
||||
}', $ecomId, $agentId, $eposId, $account, $rrn, $amount, $payPurpose),
|
||||
CURLOPT_POSTFIELDS => '{
|
||||
"ecomId": "'.$ecomId.'",
|
||||
"agentId": "'.$agentId.'",
|
||||
"eposId": "'.$eposId.'",
|
||||
"account": "'.$account.'",
|
||||
"rrn": "'.$rrn.'",
|
||||
"amount": "'.$amount.'",
|
||||
"payPurpose": "'.$payPurpose.'"
|
||||
}',
|
||||
CURLOPT_HTTPHEADER => [
|
||||
'Authorization: Basic YWRtaW46UUFad3N4MTIz',
|
||||
'Content-Type: application/json',
|
||||
'Content-Type: application/json'
|
||||
],
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user