Zen Cart Logo
Forums / All Other Contributions/Addons / VAT4EU Support Thread

VAT4EU Support Thread

Views: 25,605

Results 81 to 90 of 90
19 Mar 2025, 12:23 PM
#81
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

VAT4EU Support Thread

yesaul:

in validateVatNumber method this issue is now solved (line #516 in current version ):

$vat_number = strtoupper(zen_db_prepare_input($_POST['vat_number'] ?? ''));

> 
> but in *update* the unnecessary warnings are still being generated (line # 325 in current version)
> 
> ```
$vat_number = zen_db_prepare_input($_POST['vat_number']);

Thanks for the report; I've created a GitHub issue to track the required change: https://github.com/lat9/vat4eu/issues/50

19 Mar 2025, 1:29 PM
#82
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: VAT4EU Support Thread

lat9:

Thanks for the report; I've created a GitHub issue to track the required change: https://github.com/lat9/vat4eu/issues/50
Actually, if that field's missing that implies a possible misconfiguration, since VAT4EU's observer should have inserted some jQuery that will add the vat_number entry field to those forms.

What template is in use and is the configuration setting Customer Details :: Company set to true?

19 Mar 2025, 3:21 PM
#83
yesaul avatar

yesaul

New Zenner

Join Date:
Apr 2011
Location:
Espoo, Finland
Posts:
71
Plugin Contributions:
0

Re: VAT4EU Support Thread

What template is in use and is the configuration setting Customer Details :: Company set to true?

Customer Details :: Company ('ACCOUNT_COMPANY' key) is set to false

(I do put corporate customers having EU-VAT-# manually from Admin )

I use my own template (but this does no matter here, I think)

19 Mar 2025, 3:49 PM
#84
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: VAT4EU Support Thread

yesaul:

Customer Details :: Company ('ACCOUNT_COMPANY' key) is set to false

(I do put corporate customers having EU-VAT-# manually from Admin )

I use my own template (but this does no matter here, I think)
OK, that would be why the vat_number isn't getting posted, since the customer's Company field needs to be displayed on the storefront for the VAT number to be included.

2 Jul 2025, 12:57 PM
#85
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: VAT4EU Support Thread

v4.0.1 of "VAT4EU" is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2164

This release contains changes associated with GitHub issue #50 (Correct PHP Warning when VAT Number isn't submitted with address-change form).

7 Nov 2025, 2:17 PM
#86
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: VAT4EU Support Thread

v4.0.2 of VAT4EU is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2164

This release contains changes associated with these GitHub issues:

#51: Callback to parent class on install/upgrade/uninstall to prevent potential PHP logs.

11 Nov 2025, 4:16 PM
#87
yesaul avatar

yesaul

New Zenner

Join Date:
Apr 2011
Location:
Espoo, Finland
Posts:
71
Plugin Contributions:
0

Re: VAT4EU Support Thread

ScriptedInstaller.php line 106:

parent::executeUpgrade($oldVersion);
12 Nov 2025, 1:28 PM
#88
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: VAT4EU Support Thread

yesaul:

ScriptedInstaller.php line 106:

parent::executeUpgrade($oldVersion);

Sigh, v4.0.3 of VAT4EU is now available for download, correcting this reported issue.  Thanks, @yesaul!
28 May 2026, 2:35 PM
#89
georgecy avatar

georgecy

New Zenner

Join Date:
Jan 2015
Location:
Cyprus
Posts:
83
Plugin Contributions:
0

Re: VAT4EU Support Thread

Hi Guys. We have a specific situation where if a company buys locally with a qualified Vat number, can get certain products, such as Notebooks, phones and tablets without VAT. This is not covered with the plug in now, as a modification is needed for entering the categories that qualify for the Vat exception. In case this has use for other people, it would be useful to be implemented.

5 Jun 2026, 11:48 AM
#90
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,081
Plugin Contributions:
56

Re: VAT4EU Support Thread

v4.1.0 of VAT4EU is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2164

This release contains changes associated with these GitHub issues:

#54: Correct PHP Warning during OPC registered-account creation.
#55: Use zen_config to access configuration settings; polyfill provided for ZC versions prior to 3.0.0.
#56: Add detection method for encapsulated versions of the ZCA Bootstrap Template.
#57: Addresses in Northern Ireland are now considered part of the EU for taxation purposes.