Plugin Directory

Changeset 2974097


Ignore:
Timestamp:
10/03/2023 07:32:04 AM (2 years ago)
Author:
omise
Message:

Update to version 5.4.1 from GitHub

Location:
omise
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • omise/tags/5.4.1/CHANGELOG.md

    r2969504 r2974097  
    11# CHANGELOG
     2
     3### [v5.4.1 _(Oct 3, 2023)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.4.1)
     4- Added payment instructions in thank you page for PromptPay payment. (PR [#401](https://github.com/omise/omise-woocommerce/pull/404))
    25
    36### [v5.4.0 _(Sep 21, 2023)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.4.0)
  • omise/tags/5.4.1/assets/css/omise-css.css

    r2892466 r2974097  
    596596    margin-bottom: 1rem;
    597597}
     598
     599.qr-alert-box {
     600    padding: 15px;
     601    margin: 20px 0;
     602    border: 1px solid black;
     603}
     604
     605.align-left {
     606    text-align: left;
     607}
  • omise/tags/5.4.1/includes/gateway/class-omise-payment-promptpay.php

    r2832733 r2974097  
    133133        if ( 'view' === $context ) : ?>
    134134            <div id="omise-offline-additional-details" class="omise omise-additional-payment-details-box omise-promptpay-details" <?php echo 'email' === $context ? 'style="margin-bottom: 4em; text-align:center;"' : ''; ?>>
    135                 <p><?php echo __( 'Scan the QR code to pay', 'omise' ); ?></p>
     135                <p><strong><?php echo __( 'Scan the QR code to pay', 'omise' ); ?></strong></p>
     136
    136137                <div class="omise omise-promptpay-qrcode" alt="Opn Payments QR code ID: <?php echo $charge['source']['scannable_code']['image']['id']; ?>">
    137138                    <?php $this->load_qr_svg_to_DOM($qrcode, 'omise-promptpay-qrcode-svg') ?>
     
    139140                <a id="omise-download-promptpay-qr" class="omise-download-promptpay-qr" href="<?php echo $qrcode ?>" download="qr_code.svg">Download QR</a>
    140141                <div>
    141                     <?php echo __( 'Payment expires in: ', 'omise' ); ?>
     142                    <?php echo __( 'Payment expires at: ', 'omise' ); ?>
    142143                    <?php echo wc_format_datetime( $expires_datetime, wc_date_format() ); ?>
    143144                    <?php echo wc_format_datetime( $expires_datetime, wc_time_format() ); ?>
     
    146147                <div id="omise-offline-payment-timeout" style="margin-top: 2em; display: none;">
    147148                    <p><button id="omise-offline-payment-refresh-status">refresh status</button></p>
     149                </div>
     150
     151                <div class="qr-alert-box">
     152                    <p><strong>To make payment:</strong></p>
     153                    <ol class="align-left">
     154                        <li>Download the QR code or open your preferred bank app to scan it</li>
     155                        <li>Check that the payment details are correct</li>
     156                        <li>Import the QR code image into your bank app or scan the QR code with your bank app to pay</li>
     157                        <li>Share the payment slip from your bank app to the seller</li>
     158                    </ol>
    148159                </div>
    149160            </div>
  • omise/tags/5.4.1/omise-woocommerce.php

    r2969504 r2974097  
    55 * Plugin URI:  https://www.omise.co/woocommerce
    66 * 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.
    7  * Version:     5.4.0
     7 * Version:     5.4.1
    88 * Author:      Opn Payments and contributors
    99 * Author URI:  https://github.com/omise/omise-woocommerce/graphs/contributors
     
    2323     * @var string
    2424     */
    25     public $version = '5.4.0';
     25    public $version = '5.4.1';
    2626
    2727    /**
  • omise/tags/5.4.1/readme.txt

    r2969504 r2974097  
    44Requires at least: 4.3.1
    55Tested up to: 6.0.2
    6 Stable tag: 5.4.0
     6Stable tag: 5.4.1
    77License: MIT
    88License URI: https://opensource.org/licenses/MIT
     
    3434
    3535== Changelog ==
     36
     37= 5.4.1 =
     38
     39- Added payment instructions in thank you page for PromptPay payment. (PR [#401](https://github.com/omise/omise-woocommerce/pull/404))
    3640
    3741= 5.4.0 =
  • omise/trunk/CHANGELOG.md

    r2969504 r2974097  
    11# CHANGELOG
     2
     3### [v5.4.1 _(Oct 3, 2023)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.4.1)
     4- Added payment instructions in thank you page for PromptPay payment. (PR [#401](https://github.com/omise/omise-woocommerce/pull/404))
    25
    36### [v5.4.0 _(Sep 21, 2023)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.4.0)
  • omise/trunk/assets/css/omise-css.css

    r2892466 r2974097  
    596596    margin-bottom: 1rem;
    597597}
     598
     599.qr-alert-box {
     600    padding: 15px;
     601    margin: 20px 0;
     602    border: 1px solid black;
     603}
     604
     605.align-left {
     606    text-align: left;
     607}
  • omise/trunk/includes/gateway/class-omise-payment-promptpay.php

    r2832733 r2974097  
    133133        if ( 'view' === $context ) : ?>
    134134            <div id="omise-offline-additional-details" class="omise omise-additional-payment-details-box omise-promptpay-details" <?php echo 'email' === $context ? 'style="margin-bottom: 4em; text-align:center;"' : ''; ?>>
    135                 <p><?php echo __( 'Scan the QR code to pay', 'omise' ); ?></p>
     135                <p><strong><?php echo __( 'Scan the QR code to pay', 'omise' ); ?></strong></p>
     136
    136137                <div class="omise omise-promptpay-qrcode" alt="Opn Payments QR code ID: <?php echo $charge['source']['scannable_code']['image']['id']; ?>">
    137138                    <?php $this->load_qr_svg_to_DOM($qrcode, 'omise-promptpay-qrcode-svg') ?>
     
    139140                <a id="omise-download-promptpay-qr" class="omise-download-promptpay-qr" href="<?php echo $qrcode ?>" download="qr_code.svg">Download QR</a>
    140141                <div>
    141                     <?php echo __( 'Payment expires in: ', 'omise' ); ?>
     142                    <?php echo __( 'Payment expires at: ', 'omise' ); ?>
    142143                    <?php echo wc_format_datetime( $expires_datetime, wc_date_format() ); ?>
    143144                    <?php echo wc_format_datetime( $expires_datetime, wc_time_format() ); ?>
     
    146147                <div id="omise-offline-payment-timeout" style="margin-top: 2em; display: none;">
    147148                    <p><button id="omise-offline-payment-refresh-status">refresh status</button></p>
     149                </div>
     150
     151                <div class="qr-alert-box">
     152                    <p><strong>To make payment:</strong></p>
     153                    <ol class="align-left">
     154                        <li>Download the QR code or open your preferred bank app to scan it</li>
     155                        <li>Check that the payment details are correct</li>
     156                        <li>Import the QR code image into your bank app or scan the QR code with your bank app to pay</li>
     157                        <li>Share the payment slip from your bank app to the seller</li>
     158                    </ol>
    148159                </div>
    149160            </div>
  • omise/trunk/omise-woocommerce.php

    r2969504 r2974097  
    55 * Plugin URI:  https://www.omise.co/woocommerce
    66 * 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.
    7  * Version:     5.4.0
     7 * Version:     5.4.1
    88 * Author:      Opn Payments and contributors
    99 * Author URI:  https://github.com/omise/omise-woocommerce/graphs/contributors
     
    2323     * @var string
    2424     */
    25     public $version = '5.4.0';
     25    public $version = '5.4.1';
    2626
    2727    /**
  • omise/trunk/readme.txt

    r2969504 r2974097  
    44Requires at least: 4.3.1
    55Tested up to: 6.0.2
    6 Stable tag: 5.4.0
     6Stable tag: 5.4.1
    77License: MIT
    88License URI: https://opensource.org/licenses/MIT
     
    3434
    3535== Changelog ==
     36
     37= 5.4.1 =
     38
     39- Added payment instructions in thank you page for PromptPay payment. (PR [#401](https://github.com/omise/omise-woocommerce/pull/404))
    3640
    3741= 5.4.0 =
Note: See TracChangeset for help on using the changeset viewer.