diff --git a/boletofacil.php b/boletofacil.php index e7f92e2..588c174 100644 --- a/boletofacil.php +++ b/boletofacil.php @@ -142,6 +142,9 @@ public function cancelCharge($code) { private function request($urlSufix, $data) { $curl = curl_init(); + + curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, FALSE); + curl_setopt_array($curl, array( CURLOPT_URL => ($this->sandbox ? BoletoFacil::SANDBOX_URL : BoletoFacil::PROD_URL).$urlSufix, CURLOPT_RETURNTRANSFER => true,