This commit is contained in:
2025-09-09 16:59:18 +05:00
parent 741de26eea
commit 71e0f1c18d

View File

@@ -447,7 +447,10 @@ function syncWithBankSystem(
$amount = $online_payment_tmt_amount;
$payPurpose = $pay_purpose;
$client = new Client();
$client = new Client([
'timeout' => 5, // seconds before it fails
'connect_timeout' => 1 // seconds to wait for connection
]);
$headers = [
'Content-Type' => 'application/json',
'Authorization' => 'Basic YWRtaW46UUFad3N4MTIz'