diff --git a/composer.json b/composer.json index 518faae..e7d8c52 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "minimum-stability": "stable", "require": { - "sequra/magento2-core": "~2.1" + "sequra/magento2-core": "~2.2" }, "autoload": { "files": [ diff --git a/etc/di.xml b/etc/di.xml index 534fc3a..983fba0 100644 --- a/etc/di.xml +++ b/etc/di.xml @@ -6,18 +6,6 @@ --> - - - - \Sequra\Partpayments\Model\Ui\ConfigProvider::CODE - - - - - SequraPartpaymentsConfig - - - @@ -31,7 +19,7 @@ - + \Sequra\Partpayments\Model\Ui\ConfigProvider::CODE @@ -50,22 +38,30 @@ - - - SequraPartpaymentsGatewayConfig - - SequraPartpaymentsCountryValidator + + SequraGatewayCurrencyValidator + + + SequraPartpaymentsGatewayConfig + + SequraPartpaymentsGatewayConfig + + + + SequraPartpaymentsGatewayConfig + +