Plugin Directory

Changeset 3324844


Ignore:
Timestamp:
07/09/2025 09:09:05 AM (9 months ago)
Author:
thegeneration
Message:

Tagging version 3.3.2

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

Legend:

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

    r3320402 r3324844  
    4545
    4646        // Remove checkout fields if they are not needed
    47         add_action( 'wp', [ $this, 'maybe_remove_checkout_fields' ], 5 );
     47        add_action( 'woocommerce_checkout_before_order_review', [ $this, 'maybe_remove_checkout_fields' ] );
    4848
    4949        add_filter( 'woocommerce_my_account_my_orders_actions', [ $this, 'remove_pay_button_action' ], 10, 2 );
     
    308308    public function maybe_remove_checkout_fields() {
    309309        if ( $this->is_svea() && ! wp_doing_ajax() ) {
     310            // Flush checkout fields cache
     311            WC()->checkout()->checkout_fields = null;
     312
    310313            // Remove all default fields from WooCommerce to see what gets added by third party plugins
    311314            add_filter( 'woocommerce_checkout_fields', [ $this, 'remove_billing_and_shipping_fields' ], 100000 );
  • svea-checkout-for-woocommerce/tags/3.3.2/readme.txt

    r3320402 r3324844  
    1010License: Apache 2.0
    1111License URI: https://www.apache.org/licenses/LICENSE-2.0
    12 Stable tag: 3.3.1
     12Stable tag: 3.3.2
    1313
    1414Supercharge your WooCommerce Store with powerful features to pay via Svea Checkout!
     
    9191== Upgrade Notice ==
    9292
     93= 3.3.2 =
     943.3.2 is a patch release
     95
     96= 3.3.1 =
     973.3.1 is a patch release
     98
    9399= 3.3.0 =
    941003.3.0 is a minor release
     
    384390
    385391== Changelog ==
     392
     393= 3.3.2 2025-07-09 =
     394- Update checkout fields clearing method to work with latest version of WooCommerce.
    386395
    387396= 3.3.1 2025-07-01 =
  • svea-checkout-for-woocommerce/tags/3.3.2/svea-checkout-for-woocommerce.php

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

    r3320402 r3324844  
    4545
    4646        // Remove checkout fields if they are not needed
    47         add_action( 'wp', [ $this, 'maybe_remove_checkout_fields' ], 5 );
     47        add_action( 'woocommerce_checkout_before_order_review', [ $this, 'maybe_remove_checkout_fields' ] );
    4848
    4949        add_filter( 'woocommerce_my_account_my_orders_actions', [ $this, 'remove_pay_button_action' ], 10, 2 );
     
    308308    public function maybe_remove_checkout_fields() {
    309309        if ( $this->is_svea() && ! wp_doing_ajax() ) {
     310            // Flush checkout fields cache
     311            WC()->checkout()->checkout_fields = null;
     312
    310313            // Remove all default fields from WooCommerce to see what gets added by third party plugins
    311314            add_filter( 'woocommerce_checkout_fields', [ $this, 'remove_billing_and_shipping_fields' ], 100000 );
  • svea-checkout-for-woocommerce/trunk/readme.txt

    r3320402 r3324844  
    1010License: Apache 2.0
    1111License URI: https://www.apache.org/licenses/LICENSE-2.0
    12 Stable tag: 3.3.1
     12Stable tag: 3.3.2
    1313
    1414Supercharge your WooCommerce Store with powerful features to pay via Svea Checkout!
     
    9191== Upgrade Notice ==
    9292
     93= 3.3.2 =
     943.3.2 is a patch release
     95
     96= 3.3.1 =
     973.3.1 is a patch release
     98
    9399= 3.3.0 =
    941003.3.0 is a minor release
     
    384390
    385391== Changelog ==
     392
     393= 3.3.2 2025-07-09 =
     394- Update checkout fields clearing method to work with latest version of WooCommerce.
    386395
    387396= 3.3.1 2025-07-01 =
  • svea-checkout-for-woocommerce/trunk/svea-checkout-for-woocommerce.php

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