Changeset 3093808
- Timestamp:
- 05/28/2024 10:50:15 AM (21 months ago)
- Location:
- makecommerce/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (2 diffs)
-
makecommerce.php (modified) (3 diffs)
-
payment/gateway/woocommerce/woocommerce.php (modified) (1 diff)
-
payment/payment.php (modified) (2 diffs)
-
shipping/method/method.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
makecommerce/trunk/README.txt
r3090713 r3093808 3 3 Tags: woocommerce, payment, maksekeskus, shipping, banklink, creditcard, estonia, latvia, lithuania, pangalink, kaardimaksed, omniva, smartPOST, WPML , eesti, swedbank, seb, lhv, citadele, nordea, pocopay 4 4 Requires at least: 5.6.1 5 Tested up to: 6. 3.26 Stable tag: 3.5. 05 Tested up to: 6.5.3 6 Stable tag: 3.5.1 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 80 80 81 81 == Changelog == 82 83 = 3.5.1 2024-05-28 = 84 * Tweak - Updated supported WordPress and WooCommerce versions 85 * Tweak - Improved flow for checking order payment 86 * Fix - Fixed undefined array key warning 82 87 83 88 = 3.5.0 2024-05-22 = -
makecommerce/trunk/makecommerce.php
r3090713 r3093808 10 10 * Plugin URI: https://makecommerce.net/ 11 11 * Description: Adds MakeCommerce payment gateway and Itella/Omniva/DPD parcel machine shipping methods to WooCommerce checkout 12 * Version: 3.5. 012 * Version: 3.5.1 13 13 * Author: Maksekeskus AS 14 14 * Author URI: https://makecommerce.net/ … … 19 19 * Requires at least: 5.6.1 20 20 * Requires PHP: 7.4 21 * WC requires at least: 5.0.022 * WC tested up to: 8. 2.121 * WC requires at least: 7.1.0 22 * WC tested up to: 8.7.0 23 23 */ 24 24 … … 32 32 * Start at version 3.0.0 and use SemVer - https://semver.org 33 33 */ 34 define( 'MAKECOMMERCE_VERSION', '3.5. 0' );34 define( 'MAKECOMMERCE_VERSION', '3.5.1' ); 35 35 define( 'MAKECOMMERCE_PLUGIN_ID', 'makecommerce' ); 36 36 -
makecommerce/trunk/payment/gateway/woocommerce/woocommerce.php
r3090713 r3093808 12 12 13 13 public $id = MAKECOMMERCE_PLUGIN_ID; 14 public $version = '3.5. 0';14 public $version = '3.5.1'; 15 15 16 16 public $payment_return_url; -
makecommerce/trunk/payment/payment.php
r3090713 r3093808 279 279 } 280 280 281 if ( $paymentStatus === 'COMPLETED' ) { 282 $order->update_meta_data( '_makecommerce_payment_processed_status', $paymentStatus ); 283 $order->save(); 284 } 285 281 286 switch( $paymentStatus ) { 282 287 … … 329 334 $order->payment_complete( $transactionId ); 330 335 $woocommerce->cart->empty_cart(); 331 $order->update_meta_data( '_makecommerce_payment_processed_status', $paymentStatus );332 336 333 337 break; -
makecommerce/trunk/shipping/method/method.php
r3090713 r3093808 665 665 * Returns true if it is added, false if it is not 666 666 * 667 * @since 3. 4.3667 * @since 3.5.0 668 668 */ 669 669 public function check_filter_hook_initialization( $filter, $priority = 10 ) { 670 670 671 671 global $wp_filter; 672 $hook = $wp_filter[$filter]; 672 $hook = $wp_filter[ $filter ] ?? []; 673 674 if ( empty( $hook ) ) { 675 return false; 676 } 673 677 674 678 // Check if the object instance is already registered as a callback
Note: See TracChangeset
for help on using the changeset viewer.