Changeset 3144253
- Timestamp:
- 08/30/2024 11:16:37 AM (19 months ago)
- Location:
- ecommpay-payments/trunk
- Files:
-
- 5 edited
-
common/class-ecp-core.php (modified) (1 diff)
-
common/includes/class-ecp-gateway-order.php (modified) (1 diff)
-
common/settings/class-ecp-gateway-settings-general.php (modified) (2 diffs)
-
gateway-ecommpay.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ecommpay-payments/trunk/common/class-ecp-core.php
r3139550 r3144253 43 43 * @since 2.0.0 44 44 */ 45 const WC_ECP_VERSION = '3.4. 5';45 const WC_ECP_VERSION = '3.4.6'; 46 46 // endregion 47 47 -
ecommpay-payments/trunk/common/includes/class-ecp-gateway-order.php
r3054258 r3144253 611 611 return in_array($state, $allowed_states[$action]); 612 612 } 613 614 public function needs_processing() 615 { 616 if (ecp_is_enabled(Ecp_Gateway_Settings_General::OPTION_AUTO_COMPETE_ORDER)) { 617 return false; 618 } 619 return parent::needs_processing(); 620 } 613 621 } -
ecommpay-payments/trunk/common/settings/class-ecp-gateway-settings-general.php
r3054258 r3144253 23 23 const OPTION_LOG_LEVEL = 'log_level'; 24 24 const OPTION_TRANSACTION_INFO = 'orders_transaction_info'; 25 const OPTION_AUTO_COMPETE_ORDER = 'complete_order'; 25 26 const OPTION_CUSTOM_VARIABLES = 'custom_variables'; 26 27 … … 246 247 ], 247 248 [ 249 self::FIELD_ID => self::OPTION_AUTO_COMPETE_ORDER, 250 self::FIELD_TITLE => _x('Сomplete order automatically', 'Settings shop admin setup', 'woo-ecommpay'), 251 self::FIELD_TYPE => self::TYPE_CHECKBOX, 252 self::FIELD_DESC => _x( 253 'Enable', 254 'Settings shop admin setup', 255 'woo-ecommpay' 256 ), 257 self::FIELD_TIP => _x( 258 'Automatically complete the order in case of successful payment. Otherwise, the order will be in the Processing status.', 259 'Settings shop admin setup', 260 'woo-ecommpay' 261 ), 262 self::FIELD_DEFAULT => self::NO, 263 ], 264 [ 248 265 self::FIELD_ID => self::ADMIN_OPTIONS, 249 266 self::FIELD_TYPE => self::TYPE_END, -
ecommpay-payments/trunk/gateway-ecommpay.php
r3139550 r3144253 5 5 * GitHub Plugin URI: 6 6 * Description: Easy payment from WooCommerce by different methods in single Payment Page. 7 * Version: 3.4. 57 * Version: 3.4.6 8 8 * License: GPL2 9 9 * License URI: https://www.gnu.org/licenses/gpl-2.0.html -
ecommpay-payments/trunk/readme.txt
r3139550 r3144253 4 4 Requires at least: 4.0.0 5 5 Tested up to: 6.4 6 Stable tag: 3.4. 56 Stable tag: 3.4.6 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.