From ab6f8902586252eafc034bdc0eea25374869454b Mon Sep 17 00:00:00 2001 From: Alex Kacijan Date: Thu, 3 Mar 2022 11:07:27 +0100 Subject: [PATCH] add docker-compose and setup scripts for v5.6.9 and v5.7.7 containers and fix DataStorage classNames --- .../javascript/wirecard_seamless.js | 6 +- .../Views/frontend/checkout/dsStoreReturn.tpl | 4 +- .../frontend/_public/src/js/qenta_seamless.js | 6 +- .../qenta_checkout_seamless/storeReturn.tpl | 4 +- docker-compose.yml | 30 ++++ docker/shopware/.htaccess | 126 ++++++++++++++ docker/shopware/000-default.conf | 19 +++ docker/shopware/ngrok.sh | 36 ++++ docker/shopware/v5-6-9/.psh.yaml | 63 +++++++ docker/shopware/v5-6-9/Dockerfile | 147 +++++++++++++++++ docker/shopware/v5-6-9/init.sh | 74 +++++++++ docker/shopware/v5-7-7/Dockerfile | 154 ++++++++++++++++++ docker/shopware/v5-7-7/init.sh | 69 ++++++++ 13 files changed, 728 insertions(+), 10 deletions(-) create mode 100644 docker-compose.yml create mode 100644 docker/shopware/.htaccess create mode 100644 docker/shopware/000-default.conf create mode 100644 docker/shopware/ngrok.sh create mode 100644 docker/shopware/v5-6-9/.psh.yaml create mode 100644 docker/shopware/v5-6-9/Dockerfile create mode 100644 docker/shopware/v5-6-9/init.sh create mode 100644 docker/shopware/v5-7-7/Dockerfile create mode 100644 docker/shopware/v5-7-7/init.sh diff --git a/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js b/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js index ca1e7ae..31d4b2d 100644 --- a/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js +++ b/Frontend/QentaCheckoutSeamless/Views/frontend/_resources/javascript/wirecard_seamless.js @@ -9,8 +9,8 @@ var qentaPayment = { }); - if (typeof WirecardCEE_DataStorage !== "undefined") { - var wdcee = new WirecardCEE_DataStorage(); + if (typeof QentaCEE_DataStorage !== "undefined") { + var wdcee = new QentaCEE_DataStorage(); if ($('#qentaccardIframeContainer').length > 0) { this.pci3Iframes.ccard = wdcee.buildIframeCreditCard('qentaccardIframeContainer', '700px', '200px'); } else if ($('#qentaccard-motoIframeContainer').length > 0) { @@ -48,7 +48,7 @@ var qentaPayment = { qpaySeamlessRequest: function (paymentInformation, callback) { - var DataStorage = new WirecardCEE_DataStorage(); + var DataStorage = new QentaCEE_DataStorage(); return DataStorage.storePaymentInformation(paymentInformation, function(responseObject) { if(responseObject.getStatus() == 0) { diff --git a/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl b/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl index 9248802..d27bc42 100644 --- a/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl +++ b/Frontend/QentaCheckoutSeamless/Views/frontend/checkout/dsStoreReturn.tpl @@ -6,9 +6,9 @@