diff --git a/CHANGELOG.md b/CHANGELOG.md
index 935dd617..585eafb7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# CHANGELOG
+### [v5.4.1 _(Oct 3, 2023)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.4.1)
+- Added payment instructions in thank you page for PromptPay payment. (PR [#401](https://github.com/omise/omise-woocommerce/pull/404))
+
### [v5.4.0 _(Sep 21, 2023)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.4.0)
- Added OCBC Digital for Singapore PSP. (PR [#401](https://github.com/omise/omise-woocommerce/pull/401))
diff --git a/assets/css/omise-css.css b/assets/css/omise-css.css
index ae4037a4..8247d58d 100644
--- a/assets/css/omise-css.css
+++ b/assets/css/omise-css.css
@@ -595,3 +595,13 @@ line-height: 2;
width: 100%;
margin-bottom: 1rem;
}
+
+.qr-alert-box {
+ padding: 15px;
+ margin: 20px 0;
+ border: 1px solid black;
+}
+
+.align-left {
+ text-align: left;
+}
diff --git a/includes/gateway/class-omise-payment-promptpay.php b/includes/gateway/class-omise-payment-promptpay.php
index 8de9b69c..6f09506f 100644
--- a/includes/gateway/class-omise-payment-promptpay.php
+++ b/includes/gateway/class-omise-payment-promptpay.php
@@ -132,13 +132,14 @@ public function display_qrcode( $order, $context = 'view' ) {
if ( 'view' === $context ) : ?>
>
-
+
+
load_qr_svg_to_DOM($qrcode, 'omise-promptpay-qrcode-svg') ?>
Download QR
-
+
@@ -146,6 +147,16 @@ public function display_qrcode( $order, $context = 'view' ) {
+
+
+
To make payment:
+
+ - Download the QR code or open your preferred bank app to scan it
+ - Check that the payment details are correct
+ - Import the QR code image into your bank app or scan the QR code with your bank app to pay
+ - Share the payment slip from your bank app to the seller
+
+
diff --git a/omise-woocommerce.php b/omise-woocommerce.php
index fd1b3df6..d03f9513 100644
--- a/omise-woocommerce.php
+++ b/omise-woocommerce.php
@@ -4,7 +4,7 @@
* Plugin Name: Opn Payments
* Plugin URI: https://www.omise.co/woocommerce
* Description: Opn Payments is a WordPress plugin designed specifically for WooCommerce. The plugin adds support for Opn Payments Payment Gateway's payment methods to WooCommerce.
- * Version: 5.4.0
+ * Version: 5.4.1
* Author: Opn Payments and contributors
* Author URI: https://github.com/omise/omise-woocommerce/graphs/contributors
* Text Domain: omise
@@ -22,7 +22,7 @@ class Omise
*
* @var string
*/
- public $version = '5.4.0';
+ public $version = '5.4.1';
/**
* The Omise Instance.
diff --git a/readme.txt b/readme.txt
index 1f57bf7f..aeb03786 100644
--- a/readme.txt
+++ b/readme.txt
@@ -3,7 +3,7 @@ Contributors: Opn Payments
Tags: opn payments, payment, payment gateway, woocommerce plugin, omise, opn, installment, internet banking, alipay, paynow, truemoney wallet, woocommerce payment
Requires at least: 4.3.1
Tested up to: 6.0.2
-Stable tag: 5.4.0
+Stable tag: 5.4.1
License: MIT
License URI: https://opensource.org/licenses/MIT
@@ -34,6 +34,10 @@ From there:
== Changelog ==
+= 5.4.1 =
+
+- Added payment instructions in thank you page for PromptPay payment. (PR [#401](https://github.com/omise/omise-woocommerce/pull/404))
+
= 5.4.0 =
- Added OCBC Digital for Singapore PSP. (PR [#401](https://github.com/omise/omise-woocommerce/pull/401))