Skip to content

Commit

Permalink
Merge pull request #480 from fatchip-Stefan/SW-417_2
Browse files Browse the repository at this point in the history
SW-417: possible Fix for DB Exception on update
  • Loading branch information
janteuber authored Feb 7, 2023
2 parents c3c3f6e + 1d01386 commit 229d739
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Frontend/MoptPaymentPayone/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,11 @@ protected function createDatabase()
// used by the bnpl payments
$this->getInstallHelper()->checkAndUpdateAllowDifferentAdressesOption();

// add new config field creditcard_description_grouped
$this->getInstallHelper()->checkAndAddCreditcardDefaultDescription();

// Do not add/remove columns to s_plugin_mopt_payone_config, after PPE migration

/** @var Payment $payment */
$paypalExpressPayment = $this->Payments()->findOneBy(['name' => 'mopt_payone__ewallet_paypal_express']);
$doPaypalMigration = $this->getInstallHelper()->checkPaypalMigration();
Expand All @@ -819,9 +824,6 @@ protected function createDatabase()
// Add shop to paypal express config
$this->getInstallHelper()->checkAndUpdateAmazonPayShopModelExtension();

// add new config field creditcard_description_grouped
$this->getInstallHelper()->checkAndAddCreditcardDefaultDescription();

}

/**
Expand Down

0 comments on commit 229d739

Please sign in to comment.