Skip to content

Commit

Permalink
Merge pull request #447 from omise/release-v5.8.2
Browse files Browse the repository at this point in the history
Release v5.8.2
  • Loading branch information
aashishgurung authored Apr 9, 2024
2 parents 52380a4 + 188e1de commit 9e3b095
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 18 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## [v5.8.2 _(Apr 9, 2024)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.8.2)
- Resolve PHP warnings. (PR [#443](https://github.com/omise/omise-woocommerce/pull/443))
- Remove white box appearing under WeChat Pay. (PR [#444](https://github.com/omise/omise-woocommerce/pull/444))
- Remove white box appearing under Truemoney. (PR [#445](https://github.com/omise/omise-woocommerce/pull/445))
- Removed Citi installment. (PR [#446](https://github.com/omise/omise-woocommerce/pull/446))

## [v5.8.1 _(Mar 7, 2024)_](https://github.com/omise/omise-woocommerce/releases/tag/v5.8.1)
- Revert "Use WC order number metadata". (PR [#440](https://github.com/omise/omise-woocommerce/pull/440))

Expand Down
6 changes: 0 additions & 6 deletions assets/css/omise-css.css
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,6 @@ ul.omise-banks-list {
border-color: #1e4598;
}

/** Citi **/
.bank-logo.citi {
background: url('../images/citi.svg') #0b689d;
border-color: #0b689d;
}

/** First Choice **/
.bank-logo.first_choice {
background: url('../images/firstchoice.svg') #007bc4;
Expand Down
7 changes: 0 additions & 7 deletions includes/backends/class-omise-backend-installment.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ public function initiate()
'min_allowed_amount' => 500.00,
),

'installment_citi' => array(
'bank_code' => 'citi',
'title' => __('Citibank', 'omise'),
'interest_rate' => 0,
'min_allowed_amount' => 500.00,
),

'installment_ttb' => array(
'bank_code' => 'ttb',
'title' => __('TMBThanachart Bank', 'omise'),
Expand Down
2 changes: 1 addition & 1 deletion includes/class-omise-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function wordpress_hook_admin_menu()
public function wordpress_hook_card_form_customization()
{
add_submenu_page(
null,
"",
__('Custom card form customization', 'omise'),
Omise_Page_Card_From_Customization::PAGE_NAME,
'manage_options',
Expand Down
2 changes: 2 additions & 0 deletions includes/gateway/class-omise-payment-truemoney.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public function get_source()
$capabilities = Omise_Capabilities::retrieve();

if (!$capabilities) {
$this->has_fields = false;
return self::JUMPAPP;
}

Expand All @@ -136,6 +137,7 @@ public function get_source()
// Case 1: Both jumpapp and wallet are enabled
// Case 2: jumpapp is enabled and wallet is disabled
// Case 3: Both are disabled.
$this->has_fields = false;
return self::JUMPAPP;
}
}
2 changes: 1 addition & 1 deletion includes/gateway/class-omise-payment-wechat-pay.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public function __construct()
parent::__construct();

$this->id = 'omise_wechat_pay';
$this->has_fields = true;
$this->has_fields = false;
$this->method_title = __( 'Opn Payments WeChat Pay', 'omise' );
$this->method_description = wp_kses(
__( 'Accept payment through <strong>WeChat Pay</strong> via Opn Payments payment gateway.', 'omise' ),
Expand Down
4 changes: 2 additions & 2 deletions omise-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.1
* Version: 5.8.2
* Author: Opn Payments and contributors
* Author URI: https://github.com/omise/omise-woocommerce/graphs/contributors
* Text Domain: omise
Expand All @@ -22,7 +22,7 @@ class Omise
*
* @var string
*/
public $version = '5.8.1';
public $version = '5.8.2';

/**
* The Omise Instance.
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: Opn Payments
Tags: opn payments, payment, payment gateway, woocommerce plugin, omise, opn, installment, internet banking, alipay, paynow, truemoney, woocommerce payment
Requires at least: 4.3.1
Tested up to: 6.4.2
Stable tag: 5.8.1
Stable tag: 5.8.2
License: MIT
License URI: https://opensource.org/licenses/MIT

Expand Down Expand Up @@ -34,6 +34,13 @@ From there:

== Changelog ==

= 5.8.2 =

- Resolve PHP warnings. (PR [#443](https://github.com/omise/omise-woocommerce/pull/443))
- Remove white box appearing under WeChat Pay. (PR [#444](https://github.com/omise/omise-woocommerce/pull/444))
- Remove white box appearing under Truemoney. (PR [#445](https://github.com/omise/omise-woocommerce/pull/445))
- Removed Citi installment. (PR [#446](https://github.com/omise/omise-woocommerce/pull/446))

= 5.8.1 =

- Revert "Use WC order number metadata". (PR [#440](https://github.com/omise/omise-woocommerce/pull/440))
Expand Down

0 comments on commit 9e3b095

Please sign in to comment.