Plugin Directory

Changeset 3093808


Ignore:
Timestamp:
05/28/2024 10:50:15 AM (21 months ago)
Author:
makecommerce
Message:

Release 3.5.1

Location:
makecommerce/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • makecommerce/trunk/README.txt

    r3090713 r3093808  
    33Tags: woocommerce, payment, maksekeskus, shipping, banklink, creditcard, estonia, latvia, lithuania, pangalink, kaardimaksed, omniva, smartPOST, WPML , eesti, swedbank, seb, lhv, citadele, nordea, pocopay
    44Requires at least: 5.6.1
    5 Tested up to: 6.3.2
    6 Stable tag: 3.5.0
     5Tested up to: 6.5.3
     6Stable tag: 3.5.1
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    8080
    8181== 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
    8287
    8388= 3.5.0 2024-05-22 =
  • makecommerce/trunk/makecommerce.php

    r3090713 r3093808  
    1010 * Plugin URI:            https://makecommerce.net/
    1111 * Description:           Adds MakeCommerce payment gateway and Itella/Omniva/DPD parcel machine shipping methods to WooCommerce checkout
    12  * Version:               3.5.0
     12 * Version:               3.5.1
    1313 * Author:                Maksekeskus AS
    1414 * Author URI:            https://makecommerce.net/
     
    1919 * Requires at least:     5.6.1
    2020 * Requires PHP:          7.4
    21  * WC requires at least:  5.0.0
    22  * WC tested up to:       8.2.1
     21 * WC requires at least:  7.1.0
     22 * WC tested up to:       8.7.0
    2323 */
    2424
     
    3232 * Start at version 3.0.0 and use SemVer - https://semver.org
    3333 */
    34 define( 'MAKECOMMERCE_VERSION', '3.5.0' );
     34define( 'MAKECOMMERCE_VERSION', '3.5.1' );
    3535define( 'MAKECOMMERCE_PLUGIN_ID', 'makecommerce' );
    3636
  • makecommerce/trunk/payment/gateway/woocommerce/woocommerce.php

    r3090713 r3093808  
    1212
    1313    public $id = MAKECOMMERCE_PLUGIN_ID;
    14     public $version = '3.5.0';
     14    public $version = '3.5.1';
    1515   
    1616    public $payment_return_url;
  • makecommerce/trunk/payment/payment.php

    r3090713 r3093808  
    279279        }
    280280
     281        if ( $paymentStatus === 'COMPLETED' ) {
     282            $order->update_meta_data( '_makecommerce_payment_processed_status', $paymentStatus );
     283            $order->save();
     284        }
     285
    281286        switch( $paymentStatus ) {
    282287
     
    329334                $order->payment_complete( $transactionId );
    330335                $woocommerce->cart->empty_cart();
    331                 $order->update_meta_data( '_makecommerce_payment_processed_status', $paymentStatus );
    332336
    333337                break;
  • makecommerce/trunk/shipping/method/method.php

    r3090713 r3093808  
    665665     * Returns true if it is added, false if it is not
    666666     *
    667      * @since 3.4.3
     667     * @since 3.5.0
    668668     */
    669669    public function check_filter_hook_initialization( $filter, $priority = 10 ) {
    670670
    671671        global $wp_filter;
    672         $hook = $wp_filter[$filter];
     672        $hook = $wp_filter[ $filter ] ?? [];
     673
     674        if ( empty( $hook ) ) {
     675            return false;
     676        }
    673677
    674678        // Check if the object instance is already registered as a callback
Note: See TracChangeset for help on using the changeset viewer.