diff --git a/README.md b/README.md index 2d9710a638..6d0f0408df 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,12 @@ Inside Adyen toggle the following settings on inside the API and Responses secti * Variant ## Requirements -This plugin supports Magento 2 version 2.4.4 and higher. +This plugin is compatible with Magento 2.4.4 to 2.4.7 (inclusive). +> ⚠️ Note: To support enhanced security via CSP (Content Security Policy) nonces, the plugin depends on functionality introduced in the following Magento versions: +> +> - Magento 2.4.4-p9 and above +> - Magento 2.4.5-p8 and above +> - Magento 2.4.6-p6 and above ## Releases diff --git a/composer.json b/composer.json index 16ec960c39..75d0dee34f 100755 --- a/composer.json +++ b/composer.json @@ -20,7 +20,8 @@ "magento/module-graph-ql": ">=100.4.4", "magento/module-instant-purchase": ">=100.4.3", "magento/module-checkout-agreements": ">=100.4.3", - "ext-json": "*" + "ext-json": "*", + "magento/module-csp": "*" }, "require-dev": { "phpunit/phpunit": "~9.6.1", @@ -51,5 +52,9 @@ "magento/composer-dependency-version-audit-plugin": true, "dealerdirect/phpcodesniffer-composer-installer": true } - } + }, + "conflict": { + "magento/module-csp": "==100.4.3|==100.4.4|==100.4.5" + } + }