Changeset 3368865
- Timestamp:
- 09/27/2025 11:35:25 AM (4 months ago)
- Location:
- woocommerce-eu-vat-compliance
- Files:
-
- 2 deleted
- 3 edited
- 52 copied
-
tags/1.36.0 (copied) (copied from woocommerce-eu-vat-compliance/trunk)
-
tags/1.36.0/bootstrap.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/bootstrap.php) (2 diffs)
-
tags/1.36.0/control-centre.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/control-centre.php)
-
tags/1.36.0/css/tablesorter-theme.jui.css (copied) (copied from woocommerce-eu-vat-compliance/trunk/css/tablesorter-theme.jui.css)
-
tags/1.36.0/data/rates.json (copied) (copied from woocommerce-eu-vat-compliance/trunk/data/rates.json)
-
tags/1.36.0/eu-vat-compliance.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/eu-vat-compliance.php) (2 diffs)
-
tags/1.36.0/includes (copied) (copied from woocommerce-eu-vat-compliance/trunk/includes)
-
tags/1.36.0/includes/debug-fragment.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/includes/debug-fragment.php)
-
tags/1.36.0/includes/reports-ui.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/includes/reports-ui.php)
-
tags/1.36.0/includes/vat-compliance-order-export.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/includes/vat-compliance-order-export.php)
-
tags/1.36.0/includes/widgets.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/includes/widgets.php)
-
tags/1.36.0/js/admin.js (copied) (copied from woocommerce-eu-vat-compliance/trunk/js/admin.js)
-
tags/1.36.0/js/jquery.tablesorter.js (copied) (copied from woocommerce-eu-vat-compliance/trunk/js/jquery.tablesorter.js)
-
tags/1.36.0/js/jquery.tablesorter.min.js (copied) (copied from woocommerce-eu-vat-compliance/trunk/js/jquery.tablesorter.min.js)
-
tags/1.36.0/js/jquery.tablesorter.widgets.js (copied) (copied from woocommerce-eu-vat-compliance/trunk/js/jquery.tablesorter.widgets.js)
-
tags/1.36.0/js/jquery.tablesorter.widgets.min.js (copied) (copied from woocommerce-eu-vat-compliance/trunk/js/jquery.tablesorter.widgets.min.js)
-
tags/1.36.0/js/widget-output.js (copied) (copied from woocommerce-eu-vat-compliance/trunk/js/widget-output.js)
-
tags/1.36.0/js/widget-output.min.js (copied) (copied from woocommerce-eu-vat-compliance/trunk/js/widget-output.min.js)
-
tags/1.36.0/languages/woocommerce-eu-vat-compliance-nl_NL.mo (copied) (copied from woocommerce-eu-vat-compliance/trunk/languages/woocommerce-eu-vat-compliance-nl_NL.mo)
-
tags/1.36.0/languages/woocommerce-eu-vat-compliance-nl_NL.po (copied) (copied from woocommerce-eu-vat-compliance/trunk/languages/woocommerce-eu-vat-compliance-nl_NL.po)
-
tags/1.36.0/languages/woocommerce-eu-vat-compliance.pot (copied) (copied from woocommerce-eu-vat-compliance/trunk/languages/woocommerce-eu-vat-compliance.pot)
-
tags/1.36.0/number-lookups (copied) (copied from woocommerce-eu-vat-compliance/trunk/number-lookups)
-
tags/1.36.0/number-lookups/hmrc.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/number-lookups/hmrc.php)
-
tags/1.36.0/number-lookups/lookup-service.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/number-lookups/lookup-service.php)
-
tags/1.36.0/number-lookups/vatsense.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/number-lookups/vatsense.php)
-
tags/1.36.0/number-lookups/vies.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/number-lookups/vies.php)
-
tags/1.36.0/nusoap/class.nusoap_base.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/nusoap/class.nusoap_base.php)
-
tags/1.36.0/nusoap/class.soap_parser.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/nusoap/class.soap_parser.php)
-
tags/1.36.0/nusoap/class.soap_transport_http.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/nusoap/class.soap_transport_http.php)
-
tags/1.36.0/nusoap/class.soapclient.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/nusoap/class.soapclient.php)
-
tags/1.36.0/nusoap/class.wsdl.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/nusoap/class.wsdl.php)
-
tags/1.36.0/nusoap/class.xmlschema.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/nusoap/class.xmlschema.php)
-
tags/1.36.0/preselect-country.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/preselect-country.php)
-
tags/1.36.0/rate-providers/base-generic.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rate-providers/base-generic.php)
-
tags/1.36.0/rate-providers/base-xml.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rate-providers/base-xml.php)
-
tags/1.36.0/rate-providers/czechnb.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rate-providers/czechnb.php)
-
tags/1.36.0/rate-providers/danishnb.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rate-providers/danishnb.php)
-
tags/1.36.0/rate-providers/ecb.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rate-providers/ecb.php)
-
tags/1.36.0/rate-providers/hmrc-uk.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rate-providers/hmrc-uk.php)
-
tags/1.36.0/rate-providers/norwaycb.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rate-providers/norwaycb.php)
-
tags/1.36.0/rate-providers/romaniannb.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rate-providers/romaniannb.php)
-
tags/1.36.0/rate-providers/russiacb.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rate-providers/russiacb.php)
-
tags/1.36.0/rates.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/rates.php)
-
tags/1.36.0/readiness-tests.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/readiness-tests.php)
-
tags/1.36.0/readme.txt (copied) (copied from woocommerce-eu-vat-compliance/trunk/readme.txt) (3 diffs)
-
tags/1.36.0/record-order-details.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/record-order-details.php)
-
tags/1.36.0/regions/eu.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/regions/eu.php)
-
tags/1.36.0/regions/norway.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/regions/norway.php)
-
tags/1.36.0/regions/switzerland.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/regions/switzerland.php)
-
tags/1.36.0/regions/uk.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/regions/uk.php)
-
tags/1.36.0/regions/vat-region.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/regions/vat-region.php)
-
tags/1.36.0/reports.php (copied) (copied from woocommerce-eu-vat-compliance/trunk/reports.php)
-
tags/1.36.0/vendor (deleted)
-
tags/1.36.0/widgets.php (deleted)
-
trunk/bootstrap.php (modified) (2 diffs)
-
trunk/eu-vat-compliance.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-eu-vat-compliance/tags/1.36.0/bootstrap.php
r3339144 r3368865 245 245 * Update customer VAT location for update tax 246 246 * 247 * @param WC_Customer $customer Customer object.247 * @param WC_Customer $customer Customer object. 248 248 */ 249 249 public function update_customer_vat_location(\WC_Customer $customer) { … … 311 311 $check_result = $vat_controller->check_vat_number_validity($country, $vat_number, false, true); 312 312 } 313 313 314 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 } 317 320 } 318 321 319 322 $form_data['vat_number'] = $vat_number; 320 323 321 // Set method in POST for checking it is it local pickup or not in set_session_country_from_form method in vat_c lassclass.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. 322 325 $_POST['shipping_method'] = $this->wc->session->get('chosen_shipping_methods'); 323 326 -
woocommerce-eu-vat-compliance/tags/1.36.0/eu-vat-compliance.php
r3339144 r3368865 4 4 Plugin URI: https://www.simbahosting.co.uk/s3/product/woocommerce-eu-vat-compliance/ 5 5 Description: Provides features to assist WooCommerce with European VAT compliance 6 Version: 1.3 5.56 Version: 1.36.0 7 7 Text Domain: woocommerce-eu-vat-compliance 8 8 Domain Path: /languages … … 12 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html 13 13 WC requires at least: 4.8.0 14 WC tested up to: 10. 0.014 WC tested up to: 10.2.0 15 15 // N.B. WooCommerce doesn't check the minor version. So, '3.9.0' means 'the entire 3.9 series' 16 16 Copyright: 2014- David Anderson -
woocommerce-eu-vat-compliance/tags/1.36.0/readme.txt
r3339144 r3368865 3 3 Requires at least: 5.3 4 4 Tested up to: 6.8 5 Stable tag: 1.3 5.55 Stable tag: 1.36.0 6 6 Requires PHP: 7.1 7 7 Tags: woocommerce, eu vat, vat compliance, iva, moss … … 130 130 131 131 == 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 132 151 133 152 = 1.35.5 - 2025-08-04 = … … 1781 1800 1782 1801 == Upgrade Notice == 1783 * 1.3 5.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 245 245 * Update customer VAT location for update tax 246 246 * 247 * @param WC_Customer $customer Customer object.247 * @param WC_Customer $customer Customer object. 248 248 */ 249 249 public function update_customer_vat_location(\WC_Customer $customer) { … … 311 311 $check_result = $vat_controller->check_vat_number_validity($country, $vat_number, false, true); 312 312 } 313 313 314 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 } 317 320 } 318 321 319 322 $form_data['vat_number'] = $vat_number; 320 323 321 // Set method in POST for checking it is it local pickup or not in set_session_country_from_form method in vat_c lassclass.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. 322 325 $_POST['shipping_method'] = $this->wc->session->get('chosen_shipping_methods'); 323 326 -
woocommerce-eu-vat-compliance/trunk/eu-vat-compliance.php
r3339144 r3368865 4 4 Plugin URI: https://www.simbahosting.co.uk/s3/product/woocommerce-eu-vat-compliance/ 5 5 Description: Provides features to assist WooCommerce with European VAT compliance 6 Version: 1.3 5.56 Version: 1.36.0 7 7 Text Domain: woocommerce-eu-vat-compliance 8 8 Domain Path: /languages … … 12 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html 13 13 WC requires at least: 4.8.0 14 WC tested up to: 10. 0.014 WC tested up to: 10.2.0 15 15 // N.B. WooCommerce doesn't check the minor version. So, '3.9.0' means 'the entire 3.9 series' 16 16 Copyright: 2014- David Anderson -
woocommerce-eu-vat-compliance/trunk/readme.txt
r3339144 r3368865 3 3 Requires at least: 5.3 4 4 Tested up to: 6.8 5 Stable tag: 1.3 5.55 Stable tag: 1.36.0 6 6 Requires PHP: 7.1 7 7 Tags: woocommerce, eu vat, vat compliance, iva, moss … … 130 130 131 131 == 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 132 151 133 152 = 1.35.5 - 2025-08-04 = … … 1781 1800 1782 1801 == Upgrade Notice == 1783 * 1.3 5.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.