Changeset 3179107
- Timestamp:
- 10/30/2024 09:02:11 PM (17 months ago)
- Location:
- bread-finance/trunk
- Files:
-
- 4 edited
-
README.md (modified) (2 diffs)
-
assets/js/v2/main.js (modified) (1 diff)
-
bread-finance.php (modified) (3 diffs)
-
classes/class-bread-finance-gateway.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bread-finance/trunk/README.md
r3140085 r3179107 4 4 Requires at least: 4.9 5 5 Tested up to: 6.1.1 6 Stable tag: 3.5. 66 Stable tag: 3.5.7 7 7 Requires PHP: 5.6 8 8 WC requires at least: 3.0 … … 73 73 == Changelog == 74 74 75 = 3.5.7 76 * Current release 77 * Add HPOS compatibility 78 75 79 = 3.5.6 76 * Current release77 80 * Rename source field so it doesn't interfere with other plugins 78 81 * Update Bread placeholder -
bread-finance/trunk/assets/js/v2/main.js
r3140085 r3179107 1 1 /** 2 * Bread v3.5. 62 * Bread v3.5.7 3 3 * 4 4 * @author Maritim, Kiprotich -
bread-finance/trunk/bread-finance.php
r3140085 r3179107 6 6 * Author: Bread Financial 7 7 * Author URI: https://payments.breadfinancial.com/ 8 * Version: 3.5. 68 * Version: 3.5.7 9 9 * Text Domain: bread_finance 10 10 * Domain Path: /i18n/languages/ … … 206 206 207 207 //Require minimums and constants 208 define('WC_' . $tenant . '_VERSION', '3.5. 6');208 define('WC_' . $tenant . '_VERSION', '3.5.7'); 209 209 define('WC_' . $tenant . '_MIN_PHP_VER', '5.6.0'); 210 210 define('WC_' . $tenant . '_MIN_WC_VER', '3.4.0'); … … 282 282 }); 283 283 284 // Declare HOPS compatibility 285 add_action( 'before_woocommerce_init', function() { 286 if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) { 287 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); 288 } 289 } ); 290 284 291 $instance_name = 'wc_' . $bread_config->get('gateway_id'); 285 292 -
bread-finance/trunk/classes/class-bread-finance-gateway.php
r3140085 r3179107 1960 1960 $order->update_status('on-hold'); 1961 1961 $this->updateOrderTxStatus($order, $authorized_tx); 1962 $order->update_meta_data( '_payment_method', $this->bread_config->get('gateway_id')); // Ensure Bread is selected payment method 1962 1963 $order->save(); 1963 1964 1964 update_post_meta($order_id, '_payment_method', $this->bread_config->get('gateway_id')); // Ensure Bread is selected payment method1965 1965 if ($this->is_auto_settle()) { 1966 1966 $order->update_status('processing');
Note: See TracChangeset
for help on using the changeset viewer.