public function install() { $this->_createStates(); require_once _PS_MODULE_DIR_ . 'payulatam/config.php'; $conf = new ConfPayu(); $conf->addTables(); if (!parent::install() || !$this->registerHook('payment') || !$this->registerHook('paymentReturn')) { return false; } return true; }