if ($this->config->get('openbaypro_token') == '' || $this->config->get('openbaypro_secret') == '') { return false; } else { return true; }