$url_google_api = 'https://www.google.com/recaptcha/api/siteverify';
$google_query = $url_google_api . '?secret=' . RECAPTHA_PRIVATE_KEY . '&response=' . $this->request->getPost('g_token') . '&remoteip=' . $_SERVER['REMOTE_ADDR'];
$google_data = json_decode(file_get_contents($google_query));