From 86f3f2d22d24fcce2775c068366081e023b22bcd Mon Sep 17 00:00:00 2001 From: Ivascu Madalin Date: Tue, 28 Nov 2023 14:04:13 +0200 Subject: [PATCH] V1.1.0 (#10) * Update README on develop (#7) * Hyva checkout README.md update * BP-3191 Module loads too fast (Unexpected identifier) (#9) * move js to the after component * fix css --------- Co-authored-by: Ivascu Madalin * update the readme * Update README.md * update composer version --------- Co-authored-by: Rene <105488705+Buckaroo-Rene@users.noreply.github.com> Co-authored-by: Ivascu Madalin --- README.md | 4 +- composer.json | 2 +- .../templates/component/payment/after.phtml | 586 +++++++++++++++--- .../component/payment/method/afterpay.phtml | 22 +- .../component/payment/method/afterpay20.phtml | 18 +- .../component/payment/method/applepay.phtml | 88 +-- .../component/payment/method/billink.phtml | 18 +- .../component/payment/method/creditcard.phtml | 4 +- .../payment/method/creditcards.phtml | 112 +--- .../component/payment/method/giftcards.phtml | 73 +-- .../component/payment/method/giropay.phtml | 4 +- .../component/payment/method/ideal.phtml | 4 +- .../component/payment/method/in3.phtml | 8 +- .../component/payment/method/mrcash.phtml | 54 +- .../payment/method/payperemail.phtml | 14 +- .../component/payment/method/sepaDirect.phtml | 12 +- .../component/payment/method/tinka.phtml | 8 +- .../component/payment/method/voucher.phtml | 77 +-- 18 files changed, 565 insertions(+), 543 deletions(-) diff --git a/README.md b/README.md index 8319395..c8994b2 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Buckaroo has developed a cutting-edge Hyvä Checkout module as an extension for ## Requirements * [Buckaroo Magento 2 plugin](https://github.com/buckaroo-it/Magento2/releases) version 1.46 or higher -* Hyvä Checkout version 1.1.3 or higher +* Hyvä Checkout version 1.1.8 or higher
## Installation @@ -35,7 +35,7 @@ git clone https://github.com/buckaroo-it/Magento2_Hyva_Checkout.git ``` 4. Swich to the latest version: ``` -git checkout 1.0.0 +git checkout 1.1.0 ``` 5. Rename resulting directory: ``` diff --git a/composer.json b/composer.json index 1401d73..d2886b6 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "docs": "https://support.buckaroo.nl" }, "homepage": "https://www.buckaroo.nl", - "version" : "v1.0.0-RC1", + "version" : "v1.1.0", "minimum-stability": "stable", "autoload": { "files": [ diff --git a/view/frontend/templates/component/payment/after.phtml b/view/frontend/templates/component/payment/after.phtml index 0210427..8992e5f 100644 --- a/view/frontend/templates/component/payment/after.phtml +++ b/view/frontend/templates/component/payment/after.phtml @@ -1,28 +1,4 @@ -
+
\ No newline at end of file diff --git a/view/frontend/templates/component/payment/method/afterpay.phtml b/view/frontend/templates/component/payment/method/afterpay.phtml index 34d6062..0741b8b 100644 --- a/view/frontend/templates/component/payment/method/afterpay.phtml +++ b/view/frontend/templates/component/payment/method/afterpay.phtml @@ -19,7 +19,7 @@ use Magento\Framework\Escaper;
hasError('dateOfBirth')) : ?> -
escapeHtmlAttr($magewire->getError('dateOfBirth')) ?>
+
escapeHtmlAttr($magewire->getError('dateOfBirth')) ?>
hasError('phone')) : ?> -
escapeHtmlAttr($magewire->getError('phone')) ?>
+
escapeHtmlAttr($magewire->getError('phone')) ?>
hasError('iban')) : ?> -
escapeHtmlAttr($magewire->getError('iban')) ?>
+
escapeHtmlAttr($magewire->getError('iban')) ?>
hasError('coc')) : ?> -
escapeHtmlAttr($magewire->getError('coc')) ?>
+
escapeHtmlAttr($magewire->getError('coc')) ?>
hasError('companyName')) : ?> -
escapeHtmlAttr($magewire->getError('companyName')) ?>
+
escapeHtmlAttr($magewire->getError('companyName')) ?>
hasError('tos')) : ?> -
escapeHtmlAttr($magewire->getError('tos')) ?>
+
escapeHtmlAttr($magewire->getError('tos')) ?>
diff --git a/view/frontend/templates/component/payment/method/afterpay20.phtml b/view/frontend/templates/component/payment/method/afterpay20.phtml index 793dfd8..3005ac4 100644 --- a/view/frontend/templates/component/payment/method/afterpay20.phtml +++ b/view/frontend/templates/component/payment/method/afterpay20.phtml @@ -24,7 +24,7 @@ use Magento\Framework\Escaper;
hasError('dateOfBirth')): ?> -
escapeHtmlAttr($magewire->getError('dateOfBirth')) ?>
+
escapeHtmlAttr($magewire->getError('dateOfBirth')) ?>
hasError('identificationNumber')): ?> -
escapeHtmlAttr($magewire->getError('identificationNumber')) ?>
+
escapeHtmlAttr($magewire->getError('identificationNumber')) ?>
hasError('phone')): ?> -
escapeHtmlAttr($magewire->getError('phone')) ?>
+
escapeHtmlAttr($magewire->getError('phone')) ?>
hasError('coc')): ?> -
escapeHtmlAttr($magewire->getError('coc')) ?>
+
escapeHtmlAttr($magewire->getError('coc')) ?>
hasError('tos')): ?> -
escapeHtmlAttr($magewire->getError('tos')) ?>
+
escapeHtmlAttr($magewire->getError('tos')) ?>
diff --git a/view/frontend/templates/component/payment/method/applepay.phtml b/view/frontend/templates/component/payment/method/applepay.phtml index 1e229c8..4f5533d 100644 --- a/view/frontend/templates/component/payment/method/applepay.phtml +++ b/view/frontend/templates/component/payment/method/applepay.phtml @@ -6,93 +6,7 @@ declare(strict_types=1); use Magento\Framework\Escaper; ?> -
+