Skip to content

Commit

Permalink
fix: LINE PAY 無法啟用問題
Browse files Browse the repository at this point in the history
  • Loading branch information
j7-dev committed Nov 21, 2024
1 parent d887750 commit 2842a21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions includes/line-pay-for-woo/line-pay-for-woo.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.


if (class_exists('WC_Gateway_LINEPay_Handler')) {
return;
}
/**
* Plugin updates
* Localization
Expand Down Expand Up @@ -44,7 +41,6 @@ public function __construct() {
* WC_Gateway_LINEPay_Handler Initialize
*/
public function init_wc_gateway_linepay_handler() {

if ( ! class_exists( 'WC_Payment_Gateway' ) || !wc_string_to_bool( get_option( 'woocommerce_linepay_enabled' ) )) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion woomp.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: 好用版擴充 MorePower Addon for WooCommerce
* Plugin URI: https://morepower.club/morepower-addon/
* Description: WooCommerce 好用版擴充,改善結帳流程與可變商品等區塊,並整合多項金流,讓 WooCommerce 更符合亞洲人使用習慣。
* Version: 3.4.36
* Version: 3.4.37
* Author: MorePower
* Author URI: https://morepower.club
* License: GPL-2.0+
Expand Down

0 comments on commit 2842a21

Please sign in to comment.