Skip to content

Commit

Permalink
v2.12.7
Browse files Browse the repository at this point in the history
  • Loading branch information
kousikmukherjee committed Jul 29, 2024
1 parent a41ecc3 commit 29ffb07
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
4 changes: 2 additions & 2 deletions eu-vat-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: EU/UK VAT for WooCommerce
Plugin URI: https://wpfactory.com/item/eu-vat-for-woocommerce/
Description: Manage EU VAT in WooCommerce. Beautifully.
Version: 2.12.6
Version: 2.12.7
Author: WPFactory
Author URI: https://wpfactory.com/
Text Domain: eu-vat-for-woocommerce
Expand Down Expand Up @@ -33,7 +33,7 @@ final class Alg_WC_EU_VAT {
* @var string
* @since 1.0.0
*/
public $version = '2.12.6';
public $version = '2.12.7';
public $core = null;
public $settings = array();

Expand Down
6 changes: 4 additions & 2 deletions includes/functions/alg-wc-eu-vat-functions-validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* EU VAT for WooCommerce - Functions - Validation
*
* @version 2.12.6
* @version 2.12.7
* @since 1.0.0
* @author WPFactory
*/
Expand Down Expand Up @@ -150,7 +150,7 @@ function alg_wc_eu_vat_validate_vat_no_soap( $country_code, $vat_number, $billin
/**
* alg_wc_eu_vat_validate_vat_soap.
*
* @version 2.12.6
* @version 2.12.7
* @since 1.0.0
* @return mixed: bool on successful checking, null otherwise
*/
Expand Down Expand Up @@ -259,6 +259,8 @@ function alg_wc_eu_vat_validate_vat_soap( $country_code, $vat_number, $billing_c

}
}

return null;
}
}
}
Expand Down
20 changes: 10 additions & 10 deletions langs/eu-vat-for-woocommerce.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GNU General Public License v3.0.
msgid ""
msgstr ""
"Project-Id-Version: eu-vat-for-woocommerce 2.12.6\n"
"Project-Id-Version: eu-vat-for-woocommerce 2.12.7\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/eu-vat-for-woocommerce\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-07-28T18:39:47+02:00\n"
"POT-Creation-Date: 2024-07-29T08:13:07+02:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.9.0\n"
"X-Domain: eu-vat-for-woocommerce\n"
Expand Down Expand Up @@ -289,34 +289,34 @@ msgstr ""

#: includes/functions/alg-wc-eu-vat-functions-validation.php:65
#: includes/functions/alg-wc-eu-vat-functions-validation.php:78
#: includes/functions/alg-wc-eu-vat-functions-validation.php:385
#: includes/functions/alg-wc-eu-vat-functions-validation.php:397
#: includes/functions/alg-wc-eu-vat-functions-validation.php:387
#: includes/functions/alg-wc-eu-vat-functions-validation.php:399
msgid "Error: %s is disabled"
msgstr ""

#: includes/functions/alg-wc-eu-vat-functions-validation.php:86
#: includes/functions/alg-wc-eu-vat-functions-validation.php:406
#: includes/functions/alg-wc-eu-vat-functions-validation.php:408
msgid "Error: No response"
msgstr ""

#: includes/functions/alg-wc-eu-vat-functions-validation.php:94
#: includes/functions/alg-wc-eu-vat-functions-validation.php:139
#: includes/functions/alg-wc-eu-vat-functions-validation.php:212
#: includes/functions/alg-wc-eu-vat-functions-validation.php:338
#: includes/functions/alg-wc-eu-vat-functions-validation.php:461
#: includes/functions/alg-wc-eu-vat-functions-validation.php:340
#: includes/functions/alg-wc-eu-vat-functions-validation.php:463
msgid "Success: VAT ID is valid"
msgstr ""

#: includes/functions/alg-wc-eu-vat-functions-validation.php:102
#: includes/functions/alg-wc-eu-vat-functions-validation.php:135
#: includes/functions/alg-wc-eu-vat-functions-validation.php:204
#: includes/functions/alg-wc-eu-vat-functions-validation.php:457
#: includes/functions/alg-wc-eu-vat-functions-validation.php:459
msgid "Error: VAT ID not valid"
msgstr ""

#: includes/functions/alg-wc-eu-vat-functions-validation.php:132
#: includes/functions/alg-wc-eu-vat-functions-validation.php:197
#: includes/functions/alg-wc-eu-vat-functions-validation.php:450
#: includes/functions/alg-wc-eu-vat-functions-validation.php:452
msgid "Error: Company name does not match (%s)"
msgstr ""

Expand All @@ -336,7 +336,7 @@ msgstr ""
msgid "Error: SoapFault: %s"
msgstr ""

#: includes/functions/alg-wc-eu-vat-functions-validation.php:326
#: includes/functions/alg-wc-eu-vat-functions-validation.php:328
msgid "Success: VAT ID valid. Matched with prevalidated VAT numbers."
msgstr ""

Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: wpcodefactory, omardabbas, karzin, anbinder, algoritmika, kousikmu
Tags: EU VAT, UK VAT, tax, vat validation, VAT
Requires at least: 6.1
Tested up to: 6.5
Stable tag: 2.12.6
Stable tag: 2.12.7
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -290,6 +290,9 @@ Once activated, access the plugin's settings by navigating to “WooCommerce > S

== Changelog ==

= 2.12.7 - 30/07/2024 =
* Fix - Accept VAT when VIES is down (extra catch soapFault).

= 2.12.6 - 29/07/2024 =
* WC tested up to: 9.1
* Accept VAT when VIES is down (extra catch soapFault).
Expand Down

0 comments on commit 29ffb07

Please sign in to comment.