where('paid', true) ->where('synced_with_system', false) ->whereDate('created_at', '>', '2025-09-05') ->limit(2) ->get() ->each(function ($orderItem) { if (! $orderItem) { return; } $result = syncVisaWithAzatAPI($orderItem); if (isset($result['error'])) {} }); } }