Changeset 3438045
- Timestamp:
- 01/12/2026 05:58:56 PM (3 months ago)
- Location:
- svea-checkout-for-woocommerce
- Files:
-
- 6 edited
- 1 copied
-
tags/3.4.2 (copied) (copied from svea-checkout-for-woocommerce/trunk)
-
tags/3.4.2/inc/Template_Handler.php (modified) (2 diffs)
-
tags/3.4.2/readme.txt (modified) (3 diffs)
-
tags/3.4.2/svea-checkout-for-woocommerce.php (modified) (2 diffs)
-
trunk/inc/Template_Handler.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/svea-checkout-for-woocommerce.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
svea-checkout-for-woocommerce/tags/3.4.2/inc/Template_Handler.php
r3398960 r3438045 723 723 $svea_checkout_module = $svea_checkout->get(); 724 724 725 // Initialize the variable in case billing address is not set 726 $is_company = $svea_checkout->gateway->is_company_default(); 727 725 728 // Update customer information based on given information 726 729 if ( isset( $svea_checkout_module['BillingAddress'] ) ) { … … 784 787 WC()->customer->save(); 785 788 789 // Allow plugins to hook in after customer is updated 790 do_action( 791 'woocommerce_sco_refresh_snippet_customer_updated', 792 WC()->customer, 793 [ 794 'is_company' => $is_company, 795 'billing_postcode' => WC()->customer->get_billing_postcode(), 796 'shipping_postcode' => WC()->customer->get_shipping_postcode(), 797 'billing_country' => WC()->customer->get_billing_country(), 798 'shipping_country' => WC()->customer->get_shipping_country(), 799 ] 800 ); 801 786 802 // Calculate shipping before totals. This will ensure any shipping methods that affect things like taxes are chosen prior to final totals being calculated. Ref: #22708. 787 803 WC()->cart->calculate_shipping(); 788 804 WC()->cart->calculate_totals(); 789 805 790 // Check if the current order needs to witherbe created anew or updated806 // Check whether the current order needs to be created anew or updated 791 807 if ( $svea_checkout->needs_new( $svea_checkout_module ) ) { 792 808 $svea_checkout_module = $svea_checkout->create(); -
svea-checkout-for-woocommerce/tags/3.4.2/readme.txt
r3409597 r3438045 10 10 License: Apache 2.0 11 11 License URI: https://www.apache.org/licenses/LICENSE-2.0 12 Stable tag: 3.4. 112 Stable tag: 3.4.2 13 13 14 14 Supercharge your WooCommerce Store with powerful features to pay via Svea Checkout! … … 91 91 == Upgrade Notice == 92 92 93 = 3.4.2 = 94 3.4.2 is a patch release 95 93 96 = 3.4.1 = 94 97 3.4.1 is a patch release … … 414 417 415 418 == Changelog == 419 420 = 3.4.2 2026-01-07 = 421 - Added filter "woocommerce_sco_refresh_snippet_customer_updated" to allow third-party plugins to integrate more seamless. 416 422 417 423 = 3.4.1 2025-12-03 = -
svea-checkout-for-woocommerce/tags/3.4.2/svea-checkout-for-woocommerce.php
r3409597 r3438045 14 14 * Plugin URI: https://wordpress.org/plugins/svea-checkout-for-woocommerce/ 15 15 * Description: Process payments in WooCommerce via Svea Checkout. 16 * Version: 3.4. 116 * Version: 3.4.2 17 17 * Requires Plugins: woocommerce 18 18 * Author: The Generation AB … … 47 47 * Version of plugin 48 48 */ 49 const VERSION = '3.4. 1';49 const VERSION = '3.4.2'; 50 50 51 51 /** -
svea-checkout-for-woocommerce/trunk/inc/Template_Handler.php
r3398960 r3438045 723 723 $svea_checkout_module = $svea_checkout->get(); 724 724 725 // Initialize the variable in case billing address is not set 726 $is_company = $svea_checkout->gateway->is_company_default(); 727 725 728 // Update customer information based on given information 726 729 if ( isset( $svea_checkout_module['BillingAddress'] ) ) { … … 784 787 WC()->customer->save(); 785 788 789 // Allow plugins to hook in after customer is updated 790 do_action( 791 'woocommerce_sco_refresh_snippet_customer_updated', 792 WC()->customer, 793 [ 794 'is_company' => $is_company, 795 'billing_postcode' => WC()->customer->get_billing_postcode(), 796 'shipping_postcode' => WC()->customer->get_shipping_postcode(), 797 'billing_country' => WC()->customer->get_billing_country(), 798 'shipping_country' => WC()->customer->get_shipping_country(), 799 ] 800 ); 801 786 802 // Calculate shipping before totals. This will ensure any shipping methods that affect things like taxes are chosen prior to final totals being calculated. Ref: #22708. 787 803 WC()->cart->calculate_shipping(); 788 804 WC()->cart->calculate_totals(); 789 805 790 // Check if the current order needs to witherbe created anew or updated806 // Check whether the current order needs to be created anew or updated 791 807 if ( $svea_checkout->needs_new( $svea_checkout_module ) ) { 792 808 $svea_checkout_module = $svea_checkout->create(); -
svea-checkout-for-woocommerce/trunk/readme.txt
r3409597 r3438045 10 10 License: Apache 2.0 11 11 License URI: https://www.apache.org/licenses/LICENSE-2.0 12 Stable tag: 3.4. 112 Stable tag: 3.4.2 13 13 14 14 Supercharge your WooCommerce Store with powerful features to pay via Svea Checkout! … … 91 91 == Upgrade Notice == 92 92 93 = 3.4.2 = 94 3.4.2 is a patch release 95 93 96 = 3.4.1 = 94 97 3.4.1 is a patch release … … 414 417 415 418 == Changelog == 419 420 = 3.4.2 2026-01-07 = 421 - Added filter "woocommerce_sco_refresh_snippet_customer_updated" to allow third-party plugins to integrate more seamless. 416 422 417 423 = 3.4.1 2025-12-03 = -
svea-checkout-for-woocommerce/trunk/svea-checkout-for-woocommerce.php
r3409597 r3438045 14 14 * Plugin URI: https://wordpress.org/plugins/svea-checkout-for-woocommerce/ 15 15 * Description: Process payments in WooCommerce via Svea Checkout. 16 * Version: 3.4. 116 * Version: 3.4.2 17 17 * Requires Plugins: woocommerce 18 18 * Author: The Generation AB … … 47 47 * Version of plugin 48 48 */ 49 const VERSION = '3.4. 1';49 const VERSION = '3.4.2'; 50 50 51 51 /**
Note: See TracChangeset
for help on using the changeset viewer.