commit 97f112f3a27d266e4f620603b9e34989171254b8 Author: Daniel Seifert Date: Thu Aug 25 12:05:48 2022 +0200 add patch diff --git a/0007349_Unzer_dependency.patch b/0007349_Unzer_dependency.patch new file mode 100644 index 00000000..219cb51e --- /dev/null +++ b/0007349_Unzer_dependency.patch @@ -0,0 +1,26 @@ +From 5b1d95de5bc7f6ca096da5513273eca8933b4375 Mon Sep 17 00:00:00 2001 +From: Daniel Seifert +Date: Thu, 25 Aug 2022 11:51:41 +0200 +Subject: [PATCH 1/1] remove unnecessary Unzer SDK dependency + +see https://bugs.oxid-esales.com/view.php?id=7349 +--- + composer.json | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/composer.json b/composer.json +index 7f0e73c..7875a53 100644 +--- a/composer.json ++++ b/composer.json +@@ -21,7 +21,6 @@ + "psr/http-client": "1.0.1", + "psr/http-factory": "1.0.1", + "psr/http-message": "1.0.1", +- "ralouphie/getallheaders": "3.0.3", +- "unzerdev/php-sdk": "1.2.0.0" ++ "ralouphie/getallheaders": "3.0.3" + } + } +-- +2.26.1.windows.1 + diff --git a/README.md b/README.md new file mode 100644 index 00000000..c5849fe0 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Patch to install the D3 Unzer plugin in OXID EE 6.5 + +Due to an error in the Enterprise Metapackage (https://bugs.oxid-esales.com/view.php?id=7349), the D3 Unzer plugin may not be installed. Composer then reports a version conflict with the `unzerdev/php-sdk` package. + +## first add this to your main composer file + +```composer require cweagans/composer-patches``` + +## add this to your main composer file +``` + "extra": { + "patches": { + "oxid-esales/oxideshop-metapackage-ee": { + "Fixes dependencies bug for D3 Unzer plugin in OXID Metapackage EE 6.5": + "https://git.d3data.de/D3Public/Unzer/raw/branch/Patch_EE65/0007349_Unzer_dependency.patch" + } + }, + "enable-patching": true + }, +``` + +## run this command + +```composer install``` + +Run the D3 Unzer installation steps again. \ No newline at end of file