Plugin Directory

Changeset 3368865


Ignore:
Timestamp:
09/27/2025 11:35:25 AM (4 months ago)
Author:
DavidAnderson
Message:

1.36.0

Location:
woocommerce-eu-vat-compliance
Files:
2 deleted
3 edited
52 copied

Legend:

Unmodified
Added
Removed
  • woocommerce-eu-vat-compliance/tags/1.36.0/bootstrap.php

    r3339144 r3368865  
    245245     * Update customer VAT location for update tax
    246246     *
    247      * @param WC_Customer     $customer Customer object.
     247     * @param WC_Customer $customer Customer object.
    248248     */
    249249    public function update_customer_vat_location(\WC_Customer $customer) {
     
    311311            $check_result = $vat_controller->check_vat_number_validity($country, $vat_number, false, true);
    312312        }
     313       
    313314        if (!isset($check_result) || empty($check_result['vat_number_accepted'])) {
    314             $vat_number = null;
    315             // Do not store invalid VAT numbers in the session
    316             $this->wc->session->set('vat_number', null);
     315            if ('yes' != get_option('woocommerce_eu_vat_compliance_store_invalid_numbers')) {
     316                $vat_number = null;
     317                // Do not store invalid VAT numbers in the session
     318                $this->wc->session->set('vat_number', null);
     319            }
    317320        }
    318321
    319322        $form_data['vat_number'] = $vat_number;
    320323
    321         // Set method in POST for checking it is it local pickup or not in set_session_country_from_form method in vat_class class.
     324        // Set method in POST for checking it is it local pickup or not in set_session_country_from_form method in vat_controller class.
    322325        $_POST['shipping_method'] = $this->wc->session->get('chosen_shipping_methods');
    323326
  • woocommerce-eu-vat-compliance/tags/1.36.0/eu-vat-compliance.php

    r3339144 r3368865  
    44Plugin URI: https://www.simbahosting.co.uk/s3/product/woocommerce-eu-vat-compliance/
    55Description: Provides features to assist WooCommerce with European VAT compliance
    6 Version: 1.35.5
     6Version: 1.36.0
    77Text Domain: woocommerce-eu-vat-compliance
    88Domain Path: /languages
     
    1212License URI: https://www.gnu.org/licenses/gpl-3.0.html
    1313WC requires at least: 4.8.0
    14 WC tested up to: 10.0.0
     14WC tested up to: 10.2.0
    1515// N.B. WooCommerce doesn't check the minor version. So, '3.9.0' means 'the entire 3.9 series'
    1616Copyright: 2014- David Anderson
  • woocommerce-eu-vat-compliance/tags/1.36.0/readme.txt

    r3339144 r3368865  
    33Requires at least: 5.3
    44Tested up to: 6.8
    5 Stable tag: 1.35.5
     5Stable tag: 1.36.0
    66Requires PHP: 7.1
    77Tags: woocommerce, eu vat, vat compliance, iva, moss
     
    130130
    131131== Changelog ==
     132
     133= 1.36.0 - 2025-09-27 =
     134
     135* FIX: The block-based checkout did not apply the "Store non-valid numbers" setting allowing invalid VAT numbers to be recorded in the order (but not deduct taxes)
     136* TWEAK: Add parameters to the wp_ajax_wceuvat_vatnumber_response filter
     137
     138= 1.35.8 - 2025-09-26 =
     139
     140* TWEAK: Remove a redundant code section when verifying a VAT number, and add annotations
     141* TWEAK: Reverse the order in which the "Store non-valid numbers" and "Require non-empty company field" are shown in the settings, and improve the descriptive text
     142
     143= 1.35.7 - 2025-09-24 =
     144
     145* TWEAK: Replace the deprecated wpo_wcpdf_shop_address_settings_text filter when wpo_wcpdf_get_shop_address is available
     146* TWEAK: Add filter wc_vat_compliance_add_footer_with_all_zero_rated to allow suppression of invoice filter in the case of a valid VAT number and only zero-rated line items when the number is deemed not to be the reason for no VAT
     147
     148= 1.35.6 - 2025-08-12 =
     149
     150* TWEAK: When processing a subscription renewal, or when pre-filling the block checkout field, if the VAT number was stored with a double-prefix, then fix it
    132151
    133152= 1.35.5 - 2025-08-04 =
     
    17811800
    17821801== Upgrade Notice ==
    1783 * 1.35.5 - Update VAT rates. N.B. Since 1.32.1, the Premium version now uses version 2.0 of the HMRC (UK) VAT number lookup service, which is the only version available from January - if you are using it, you must go into the plugin settings and go through the authentication procedure. Other minor tweaks and improvements. A recommended update for all.
     1802* 1.36.0 - Implement the "Store non-valid numbers" setting on the block-based checkout. N.B. Since 1.32.1, the Premium version now uses version 2.0 of the HMRC (UK) VAT number lookup service, which is the only version available from January - if you are using it, you must go into the plugin settings and go through the authentication procedure. Other minor tweaks and improvements. A recommended update for all.
  • woocommerce-eu-vat-compliance/trunk/bootstrap.php

    r3339144 r3368865  
    245245     * Update customer VAT location for update tax
    246246     *
    247      * @param WC_Customer     $customer Customer object.
     247     * @param WC_Customer $customer Customer object.
    248248     */
    249249    public function update_customer_vat_location(\WC_Customer $customer) {
     
    311311            $check_result = $vat_controller->check_vat_number_validity($country, $vat_number, false, true);
    312312        }
     313       
    313314        if (!isset($check_result) || empty($check_result['vat_number_accepted'])) {
    314             $vat_number = null;
    315             // Do not store invalid VAT numbers in the session
    316             $this->wc->session->set('vat_number', null);
     315            if ('yes' != get_option('woocommerce_eu_vat_compliance_store_invalid_numbers')) {
     316                $vat_number = null;
     317                // Do not store invalid VAT numbers in the session
     318                $this->wc->session->set('vat_number', null);
     319            }
    317320        }
    318321
    319322        $form_data['vat_number'] = $vat_number;
    320323
    321         // Set method in POST for checking it is it local pickup or not in set_session_country_from_form method in vat_class class.
     324        // Set method in POST for checking it is it local pickup or not in set_session_country_from_form method in vat_controller class.
    322325        $_POST['shipping_method'] = $this->wc->session->get('chosen_shipping_methods');
    323326
  • woocommerce-eu-vat-compliance/trunk/eu-vat-compliance.php

    r3339144 r3368865  
    44Plugin URI: https://www.simbahosting.co.uk/s3/product/woocommerce-eu-vat-compliance/
    55Description: Provides features to assist WooCommerce with European VAT compliance
    6 Version: 1.35.5
     6Version: 1.36.0
    77Text Domain: woocommerce-eu-vat-compliance
    88Domain Path: /languages
     
    1212License URI: https://www.gnu.org/licenses/gpl-3.0.html
    1313WC requires at least: 4.8.0
    14 WC tested up to: 10.0.0
     14WC tested up to: 10.2.0
    1515// N.B. WooCommerce doesn't check the minor version. So, '3.9.0' means 'the entire 3.9 series'
    1616Copyright: 2014- David Anderson
  • woocommerce-eu-vat-compliance/trunk/readme.txt

    r3339144 r3368865  
    33Requires at least: 5.3
    44Tested up to: 6.8
    5 Stable tag: 1.35.5
     5Stable tag: 1.36.0
    66Requires PHP: 7.1
    77Tags: woocommerce, eu vat, vat compliance, iva, moss
     
    130130
    131131== Changelog ==
     132
     133= 1.36.0 - 2025-09-27 =
     134
     135* FIX: The block-based checkout did not apply the "Store non-valid numbers" setting allowing invalid VAT numbers to be recorded in the order (but not deduct taxes)
     136* TWEAK: Add parameters to the wp_ajax_wceuvat_vatnumber_response filter
     137
     138= 1.35.8 - 2025-09-26 =
     139
     140* TWEAK: Remove a redundant code section when verifying a VAT number, and add annotations
     141* TWEAK: Reverse the order in which the "Store non-valid numbers" and "Require non-empty company field" are shown in the settings, and improve the descriptive text
     142
     143= 1.35.7 - 2025-09-24 =
     144
     145* TWEAK: Replace the deprecated wpo_wcpdf_shop_address_settings_text filter when wpo_wcpdf_get_shop_address is available
     146* TWEAK: Add filter wc_vat_compliance_add_footer_with_all_zero_rated to allow suppression of invoice filter in the case of a valid VAT number and only zero-rated line items when the number is deemed not to be the reason for no VAT
     147
     148= 1.35.6 - 2025-08-12 =
     149
     150* TWEAK: When processing a subscription renewal, or when pre-filling the block checkout field, if the VAT number was stored with a double-prefix, then fix it
    132151
    133152= 1.35.5 - 2025-08-04 =
     
    17811800
    17821801== Upgrade Notice ==
    1783 * 1.35.5 - Update VAT rates. N.B. Since 1.32.1, the Premium version now uses version 2.0 of the HMRC (UK) VAT number lookup service, which is the only version available from January - if you are using it, you must go into the plugin settings and go through the authentication procedure. Other minor tweaks and improvements. A recommended update for all.
     1802* 1.36.0 - Implement the "Store non-valid numbers" setting on the block-based checkout. N.B. Since 1.32.1, the Premium version now uses version 2.0 of the HMRC (UK) VAT number lookup service, which is the only version available from January - if you are using it, you must go into the plugin settings and go through the authentication procedure. Other minor tweaks and improvements. A recommended update for all.
Note: See TracChangeset for help on using the changeset viewer.