Plugin Directory

Changeset 3439569


Ignore:
Timestamp:
01/14/2026 01:26:38 PM (3 months ago)
Author:
thegeneration
Message:

Tagging version 3.4.3

Location:
svea-checkout-for-woocommerce
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • svea-checkout-for-woocommerce/tags/3.4.3/inc/Template_Handler.php

    r3438045 r3439569  
    461461            $svea_order_id = WC()->session->get( 'sco_order_id' );
    462462
     463            if ( empty( $svea_order_id ) ) {
     464                return;
     465            }
     466
    463467            $args = [
    464468                'status'     => 'any',
     
    476480
    477481                // Check if status is final
    478                 if ( isset( $svea_checkout_module['Status'] ) && strtoupper( $svea_checkout_module['Status'] ) !== 'FINAL' ) {
    479                     WC_Gateway_Svea_Checkout::log( sprintf( 'Order %s is not in final state, status: %s', $svea_order_id, $svea_checkout_module['Status'] ) );
     482                if ( ! isset( $svea_checkout_module['Status'] ) || strtoupper( $svea_checkout_module['Status'] ) !== 'FINAL' ) {
     483                    WC_Gateway_Svea_Checkout::log( sprintf( 'Order %s is not in final state, status: %s', $svea_order_id, $svea_checkout_module['Status'] ?? 'Order not found' ) );
    480484                    wp_safe_redirect( wc_get_checkout_url() );
    481485                    exit;
  • svea-checkout-for-woocommerce/tags/3.4.3/readme.txt

    r3438045 r3439569  
    1010License: Apache 2.0
    1111License URI: https://www.apache.org/licenses/LICENSE-2.0
    12 Stable tag: 3.4.2
     12Stable tag: 3.4.3
    1313
    1414Supercharge your WooCommerce Store with powerful features to pay via Svea Checkout!
     
    9191== Upgrade Notice ==
    9292
     93= 3.4.3 =
     943.4.3 is a patch release
     95
    9396= 3.4.2 =
    94973.4.2 is a patch release
     
    417420
    418421== Changelog ==
     422
     423= 3.4.3 2026-01-14 =
     424- Better error handling in order sync.
    419425
    420426= 3.4.2 2026-01-07 =
  • svea-checkout-for-woocommerce/tags/3.4.3/svea-checkout-for-woocommerce.php

    r3438045 r3439569  
    1414 * Plugin URI: https://wordpress.org/plugins/svea-checkout-for-woocommerce/
    1515 * Description: Process payments in WooCommerce via Svea Checkout.
    16  * Version: 3.4.2
     16 * Version: 3.4.3
    1717 * Requires Plugins: woocommerce
    1818 * Author: The Generation AB
     
    4747         * Version of plugin
    4848         */
    49         const VERSION = '3.4.2';
     49        const VERSION = '3.4.3';
    5050
    5151        /**
  • svea-checkout-for-woocommerce/trunk/inc/Template_Handler.php

    r3438045 r3439569  
    461461            $svea_order_id = WC()->session->get( 'sco_order_id' );
    462462
     463            if ( empty( $svea_order_id ) ) {
     464                return;
     465            }
     466
    463467            $args = [
    464468                'status'     => 'any',
     
    476480
    477481                // Check if status is final
    478                 if ( isset( $svea_checkout_module['Status'] ) && strtoupper( $svea_checkout_module['Status'] ) !== 'FINAL' ) {
    479                     WC_Gateway_Svea_Checkout::log( sprintf( 'Order %s is not in final state, status: %s', $svea_order_id, $svea_checkout_module['Status'] ) );
     482                if ( ! isset( $svea_checkout_module['Status'] ) || strtoupper( $svea_checkout_module['Status'] ) !== 'FINAL' ) {
     483                    WC_Gateway_Svea_Checkout::log( sprintf( 'Order %s is not in final state, status: %s', $svea_order_id, $svea_checkout_module['Status'] ?? 'Order not found' ) );
    480484                    wp_safe_redirect( wc_get_checkout_url() );
    481485                    exit;
  • svea-checkout-for-woocommerce/trunk/readme.txt

    r3438045 r3439569  
    1010License: Apache 2.0
    1111License URI: https://www.apache.org/licenses/LICENSE-2.0
    12 Stable tag: 3.4.2
     12Stable tag: 3.4.3
    1313
    1414Supercharge your WooCommerce Store with powerful features to pay via Svea Checkout!
     
    9191== Upgrade Notice ==
    9292
     93= 3.4.3 =
     943.4.3 is a patch release
     95
    9396= 3.4.2 =
    94973.4.2 is a patch release
     
    417420
    418421== Changelog ==
     422
     423= 3.4.3 2026-01-14 =
     424- Better error handling in order sync.
    419425
    420426= 3.4.2 2026-01-07 =
  • svea-checkout-for-woocommerce/trunk/svea-checkout-for-woocommerce.php

    r3438045 r3439569  
    1414 * Plugin URI: https://wordpress.org/plugins/svea-checkout-for-woocommerce/
    1515 * Description: Process payments in WooCommerce via Svea Checkout.
    16  * Version: 3.4.2
     16 * Version: 3.4.3
    1717 * Requires Plugins: woocommerce
    1818 * Author: The Generation AB
     
    4747         * Version of plugin
    4848         */
    49         const VERSION = '3.4.2';
     49        const VERSION = '3.4.3';
    5050
    5151        /**
Note: See TracChangeset for help on using the changeset viewer.