Changeset 3178173
- Timestamp:
- 10/29/2024 03:45:07 PM (17 months ago)
- Location:
- trustistecommerce/trunk
- Files:
-
- 3 edited
-
includes/woocommerce/TrustistPaymentsWC.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
trustist-ecommerce.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trustistecommerce/trunk/includes/woocommerce/TrustistPaymentsWC.php
r3131773 r3178173 20 20 $this->description = $this->get_option('description'); 21 21 $this->enabled = $this->get_option('enabled'); 22 $this->testmode = 'yes' ===$this->get_option('testmode');23 24 $testmode = 'yes' === $this-> settings['testmode'];22 $this->testmode = $this->get_option('testmode'); 23 24 $testmode = 'yes' === $this->testmode; 25 25 $cards_enabled = $testmode ? get_option("trustist_payments_sandbox_cards_enabled") : get_option("trustist_payments_cards_enabled"); 26 26 $icon = TRUSTISTPLUGIN_URL . ($cards_enabled ? 'img/Trustist-all-payment-methods_full.png' : 'img/Trustist-star-icon-150x150.png'); … … 28 28 29 29 add_action('woocommerce_api_' . $this->id, array($this, 'trustist_payments_process_response')); 30 add_action('woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) ); 30 31 } 31 32 … … 208 209 private function is_testmode() 209 210 { 210 return 'yes' === (string) $this->get_option('testmode') ? true : false;211 return 'yes' === $this->testmode; 211 212 } 212 213 -
trustistecommerce/trunk/readme.txt
r3178082 r3178173 4 4 Requires at least: 5.4 5 5 Tested up to: 6.5 6 Stable tag: 1.0. 36 Stable tag: 1.0.4 7 7 Requires PHP: 7.2 8 8 License: GPLv2 -
trustistecommerce/trunk/trustist-ecommerce.php
r3178082 r3178173 4 4 Plugin URI: https://www.trustistecommerce.com 5 5 Description: Take Open Banking or credit card payments in the UK using TrustistEcommerce. 6 Version: 1.0. 36 Version: 1.0.4 7 7 Author: Trustist 8 8 Author URI: https://www.trustist.com … … 12 12 defined( 'ABSPATH' ) or die(); 13 13 14 \define('TRUSTISTPLUGIN_VERSION', '1.0. 3');14 \define('TRUSTISTPLUGIN_VERSION', '1.0.4'); 15 15 \define('TRUSTISTPLUGIN_SLUG', 'trustistecommerce'); 16 16 \define('TRUSTISTPLUGIN_NAME', 'TrustistEcommerce');
Note: See TracChangeset
for help on using the changeset viewer.