From 72bd7f4cdedb98143db8b6c283bd96fbd4fdd2dc Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Wed, 19 Mar 2025 10:39:10 +0500 Subject: [PATCH] wip --- .../Payment/Billing/HandlesBillingSyncing.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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, [