wip
This commit is contained in:
@@ -447,8 +447,6 @@ function syncWithBankSystem(
|
|||||||
$amount = $online_payment_tmt_amount;
|
$amount = $online_payment_tmt_amount;
|
||||||
$payPurpose = $pay_purpose;
|
$payPurpose = $pay_purpose;
|
||||||
|
|
||||||
info(['ecomId' => $ecomId, 'agentId' => $agentId, 'eposId' => $eposId, 'account' => $account, 'rrn' => $rrn, 'amount' => $amount, 'payPurpose' => $payPurpose]);
|
|
||||||
|
|
||||||
$client = new Client();
|
$client = new Client();
|
||||||
$headers = [
|
$headers = [
|
||||||
'Content-Type' => 'application/json',
|
'Content-Type' => 'application/json',
|
||||||
@@ -459,10 +457,10 @@ function syncWithBankSystem(
|
|||||||
"agentId": "%s",
|
"agentId": "%s",
|
||||||
"eposId": "%s",
|
"eposId": "%s",
|
||||||
"account": "%s",
|
"account": "%s",
|
||||||
"rnn": "003196298124",
|
"rrn": "%s",
|
||||||
"amount": "%s",
|
"amount": "%s",
|
||||||
"payPurpose": "%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);
|
$request = new GuzzleRequest('POST', 'http://10.3.158.102:8888/api/paytrn/new', $headers, $body);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user