diff --git a/app/Repos/Payment/Billing/HandlesBillingSyncing.php b/app/Repos/Payment/Billing/HandlesBillingSyncing.php index 5e7a3e6..632d918 100644 --- a/app/Repos/Payment/Billing/HandlesBillingSyncing.php +++ b/app/Repos/Payment/Billing/HandlesBillingSyncing.php @@ -16,6 +16,24 @@ trait HandlesBillingSyncing string $amount, string $pay_purpose, ) { + return sprintf( + '{ + "ecomId" : "%s", + "agentId" : "%s", + "eposId" : "%s", + "account" : "%s", + "rnn" : "%s", + "amount" : %s, + "payPurpose" : "%s" + }', + $uuid, + $bank_code, + $terminal_id, + $account_number, + $rrn, + $amount, + $pay_purpose, + ); $curl = curl_init(); curl_setopt_array($curl, [