Changeset 3185537
- Timestamp:
- 11/11/2024 09:05:07 AM (17 months ago)
- Location:
- sepay-gateway/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
sepay-gateway.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sepay-gateway/trunk/readme.txt
r3169948 r3185537 4 4 - Tags: woocommerce, payment gateway, vietqr, ngan hang, thanh toan 5 5 - Requires WooCommerce at least: 2.1 6 - Stable Tag: 1.0.1 07 - Version: 1.0.1 06 - Stable Tag: 1.0.11 7 - Version: 1.0.11 8 8 - Tested up to: 6.6 9 9 - Requires at least: 5.6 -
sepay-gateway/trunk/sepay-gateway.php
r3169948 r3185537 6 6 * Author: SePay Team 7 7 * Author URI: https://sepay.vn/ 8 * Version: 1.0.1 08 * Version: 1.0.11 9 9 * Text Domain: sepay-gateway 10 10 * License: GNU General Public License v3.0 … … 157 157 $this->description = $this->get_option('description'); 158 158 $this->enabled = $this->get_option('enabled'); 159 $this->icon = esc_url(plugin_dir_url( __FILE__ )) . "imgs/qrcode-icon.png";160 161 $this->bank_brand_name = $bank_data[$this->get_option('bank_select')]['short_name'];159 $this->icon = esc_url(plugin_dir_url( __FILE__ )) . "imgs/qrcode-icon.png"; 160 161 $this->bank_brand_name = array_key_exists($this->get_option('bank_select'), $bank_data) ? $bank_data[$this->get_option('bank_select')]['short_name'] : null; 162 162 $this->bank_account_number = $this->get_option('bank_account_number'); 163 163 $this->bank_account_holder = $this->get_option('bank_account_holder'); 164 164 165 $this->bank_bin = $bank_data[$this->get_option('bank_select')]['bin']; 166 $this->bank_logo_url = esc_url(plugin_dir_url(__FILE__)) . "imgs/".$bank_data[$this->get_option('bank_select')]['code'].".png"; 165 $this->bank_bin = $bank_data[$this->get_option('bank_select')]['bin']; 166 $this->bank_bin = array_key_exists($this->get_option('bank_select'), $bank_data) ? $bank_data[$this->get_option('bank_select')]['bin'] : null; 167 $this->bank_logo_url = esc_url(plugin_dir_url(__FILE__)) . "imgs/" . (array_key_exists($this->get_option('bank_select'), $bank_data) ? $bank_data[$this->get_option('bank_select')]['code'] : 'default') . ".png"; 167 168 $this->pay_code_prefix = $this->get_option('pay_code_prefix'); 168 169 $this->api_key = $this->get_option('api_key');
Note: See TracChangeset
for help on using the changeset viewer.