diff --git a/deploy.md b/deploy.md index d266509..2811887 100644 --- a/deploy.md +++ b/deploy.md @@ -4,6 +4,8 @@ Need to update version before update on Store. - kkiapay-woocommerce-plugin.php * line 10: **Version: 2.4.x** + - kkiapay-woocommerce-plugin.php + * line 20: **define('WC_KKIAPAY_VERSION', '2.4.x');** - readme.txt * line 7: **Stable tag: 2.4.x** diff --git a/includes/class-wc-kkiapay-gateway-blocks-support.php b/includes/class-wc-kkiapay-gateway-blocks-support.php index f7862ae..02d733e 100644 --- a/includes/class-wc-kkiapay-gateway-blocks-support.php +++ b/includes/class-wc-kkiapay-gateway-blocks-support.php @@ -83,7 +83,7 @@ public function get_payment_method_data() return array( 'title' => $this->get_setting('title'), 'description' => $this->get_setting('description'), - 'icon' => plugins_url('assets/img/kkiapay.svg', WC_KKIAPAY_MAIN_FILE), + 'icon' => plugins_url('assets/img/kkiapay.svg', WC_KKIAPAY_MAIN_FILE) . '?ver=' . WC_KKIAPAY_VERSION, 'supports' => array_filter($gateway->supports, array($gateway, 'supports')), ); } diff --git a/includes/class-wc-kkiapay-gateway.php b/includes/class-wc-kkiapay-gateway.php index eb2c5e4..0f4a2da 100644 --- a/includes/class-wc-kkiapay-gateway.php +++ b/includes/class-wc-kkiapay-gateway.php @@ -74,7 +74,7 @@ public function __construct() $this->id = 'kkiapay_woocommerce_plugin'; $this->icon = 'https://github.com/kkiapay/wordpress-plugin/assets/91498943/69fd580e-b43f-4a39-abc9-cba86ebfb74d'; $this->has_fields = true; - // $this->refund = $this->get_option('refund'); + // $this->refund = $this->get_option('refund'); $this->title = array_key_exists('title', $this->settings) ? $this->settings['title'] : ''; $this->method_title = 'Kkiapay'; $this->description = "