Skip to content

Commit

Permalink
MOL-598: Fix Migration Problem after Plugin Update
Browse files Browse the repository at this point in the history
  • Loading branch information
boxblinkracer committed Oct 6, 2021
1 parent 30249a3 commit 60a6ba0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions MollieShopware.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ public function update(UpdateContext $context)
$this->writeConfig($context->getPlugin(), 'orders_api_only_where_mandatory', 'no');
}

# update our payment config to have valid
# entries and new configs automatically applied
/** @var PaymentMethodsInstaller $paymentInstaller */
$paymentInstaller = $this->getPaymentMethodInstaller($context);
$paymentInstaller->updatePaymentConfigs();

parent::update($context);
}

Expand Down

0 comments on commit 60a6ba0

Please sign in to comment.