From d207905e9d526a188103ba2edac54343505f3b38 Mon Sep 17 00:00:00 2001 From: Aashish Gurung <101558497+aashishgurung@users.noreply.github.com> Date: Mon, 21 Aug 2023 11:12:35 +0700 Subject: [PATCH 1/2] Enabled AlipayHK, Kakaopay and Touch 'N Go for Thailand. (#440) Co-authored-by: Aashish --- .../payment/method-renderer/omise-offsite-alipayhk-method.js | 2 +- .../payment/method-renderer/omise-offsite-kakaopay-method.js | 2 +- .../payment/method-renderer/omise-offsite-touchngo-method.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/view/frontend/web/js/view/payment/method-renderer/omise-offsite-alipayhk-method.js b/view/frontend/web/js/view/payment/method-renderer/omise-offsite-alipayhk-method.js index 9f7863c59..1ab35a653 100644 --- a/view/frontend/web/js/view/payment/method-renderer/omise-offsite-alipayhk-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/omise-offsite-alipayhk-method.js @@ -21,7 +21,7 @@ define( isPlaceOrderActionAllowed: ko.observable(quote.billingAddress() != null), code: 'omise_offsite_alipayhk', - restrictedToCurrencies: ['sgd'] + restrictedToCurrencies: ['sgd', 'thb'] }); } ); diff --git a/view/frontend/web/js/view/payment/method-renderer/omise-offsite-kakaopay-method.js b/view/frontend/web/js/view/payment/method-renderer/omise-offsite-kakaopay-method.js index 468d0b03b..b0f50da76 100644 --- a/view/frontend/web/js/view/payment/method-renderer/omise-offsite-kakaopay-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/omise-offsite-kakaopay-method.js @@ -21,7 +21,7 @@ define( isPlaceOrderActionAllowed: ko.observable(quote.billingAddress() != null), code: 'omise_offsite_kakaopay', - restrictedToCurrencies: ['sgd'] + restrictedToCurrencies: ['sgd', 'thb'] }); } ); diff --git a/view/frontend/web/js/view/payment/method-renderer/omise-offsite-touchngo-method.js b/view/frontend/web/js/view/payment/method-renderer/omise-offsite-touchngo-method.js index 6a5db0cfe..596659bb4 100644 --- a/view/frontend/web/js/view/payment/method-renderer/omise-offsite-touchngo-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/omise-offsite-touchngo-method.js @@ -21,7 +21,7 @@ define( isPlaceOrderActionAllowed: ko.observable(quote.billingAddress() != null), code: 'omise_offsite_touchngo', - restrictedToCurrencies: ['sgd', 'myr'], + restrictedToCurrencies: ['sgd', 'myr', 'thb'], logo: { file: "images/touchngo.png", width: "30", From 5a2cb1e0ea5be6067471913ec7e03c3aeae745c3 Mon Sep 17 00:00:00 2001 From: Aashish Date: Tue, 22 Aug 2023 12:30:58 +0700 Subject: [PATCH 2/2] Preparing release of v3.2.0 --- CHANGELOG.md | 3 +++ composer.json | 2 +- etc/module.xml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4b00df9a..c27ef5857 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## [v3.2.0 _(Aug, 22, 2023)_](https://github.com/omise/omise-magento/releases/tag/v3.2.0) +- Enabled AlipayHK, Kakaopay and Touch 'N Go for Thailand PSP. (PR: [#440](https://github.com/omise/omise-magento/pull/440)) + ## [v3.1.2 _(Jun, 23, 2023)_](https://github.com/omise/omise-magento/releases/tag/v3.1.2) - Fetch the same number of orders as the value of refresh counter in the cron job. (PR: [#437](https://github.com/omise/omise-magento/pull/437)) diff --git a/composer.json b/composer.json index aa8e3da60..e93be03f1 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "email": "support@omise.co" } ], - "version": "3.1.2", + "version": "3.2.0", "minimum-stability": "stable", "type": "magento2-module", "license": "MIT", diff --git a/etc/module.xml b/etc/module.xml index 84a25bf28..263c1835f 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,6 +1,6 @@ - +