fix amount 3

This commit is contained in:
2026-06-09 10:21:30 +03:30
parent ce65300bd1
commit ca7177d21b
4 changed files with 9 additions and 6 deletions
@@ -209,7 +209,11 @@ class SingleOrderController extends Controller
} }
} }
if (isset($data['order'])) { if (isset($data['order'])) {
$response['Notifications'] = $this->sendTransactionNotifications($data, $transactionType); try {
$response['Notifications'] = $this->sendTransactionNotifications($data, $transactionType);
} catch (\Throwable $e) {
report($e);
}
} }
return response()->json([$response, $data]); return response()->json([$response, $data]);
} }
@@ -363,8 +363,8 @@ class ReportController extends Controller
try { try {
$taban_gohar = Http::withOptions([ $taban_gohar = Http::withOptions([
'curl' => [ 'curl' => [
\CURLOPT_IPRESOLVE => \CURL_IPRESOLVE_V4, CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
\CURLOPT_TCP_FASTOPEN => 1, CURLOPT_TCP_FASTOPEN => 1,
], ],
]) ])
->withoutVerifying() ->withoutVerifying()
+2 -2
View File
@@ -71,8 +71,8 @@ class MontzarService
->acceptJson() ->acceptJson()
->withOptions([ ->withOptions([
'curl' => [ 'curl' => [
\CURLOPT_IPRESOLVE => \CURL_IPRESOLVE_V4, CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
\CURLOPT_TCP_FASTOPEN => 1, CURLOPT_TCP_FASTOPEN => 1,
], ],
]) ])
->withToken($token) ->withToken($token)
@@ -70,4 +70,3 @@ class WalletInterface
return true; return true;
} }
} }