Skip to content

Commit

Permalink
Merge pull request #307 from 202ecommerce/bugfix/43811-install_process
Browse files Browse the repository at this point in the history
refs #43811 install process
  • Loading branch information
bogdan202 authored Jan 30, 2024
2 parents 2a5b019 + a62a5da commit 2f39c91
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,14 +422,15 @@ public function install()
$this->_errors[] = Tools::displayError($e->getMessage());
}

if (($isPhpVersionCompliant && parent::install() && $installer->install()) == false) {
return false;
}
// Registration order status
if (!$this->installOrderState()) {
if (($isPhpVersionCompliant && parent::install()) == false) {
return false;
}

$installer->installObjectModels();
$installer->installAdminControllers();
$installer->installExtensions();
// Registration order status
$this->installOrderState();
$this->registerHooks();
$this->moduleConfigs['PAYPAL_OS_WAITING_VALIDATION'] = (int) Configuration::get('PAYPAL_OS_WAITING');
$this->moduleConfigs['PAYPAL_OS_PROCESSING'] = (int) Configuration::get('PAYPAL_OS_WAITING');
Expand Down

0 comments on commit 2f39c91

Please sign in to comment.