Right now is not making the mistake, I’m sure it was a server problem where is hosted the API
In this line:
private static function exec( $request, $version ) {
$connect = self::build_request( $request, $version );
$api_result = curl_exec( $connect );
$api_http_code = curl_getinfo( $connect, CURLINFO_HTTP_CODE );
if ( $api_result === FALSE ) {
Line 853 —-> throw new MercadoPagoException ( curl_error ( $connect ) );
}
$response = array(
‘status’ => $api_http_code,
‘response’ => json_decode( $api_result, true )
);
curl_close( $connect );
return $response;
}