Well after a lot of time and struggle, I decided to move the website to another server/hosting company and it fixed the issue. So had to do with my server configuration. Unfortunately I don’t know what the cause was still. I’m thinking it had to do with the firewall or an older version of php/cURL that wasn’t compatible. Either way, glad its fixed.