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

VAT4EU Support Thread

Views: 25,605

Results 21 to 40 of 90
16 May 2019, 11:58 AM
#21
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

VAT4EU Support Thread

Hi lat9

The Netherlands. I ahve since set an account up with a netherlands address and the VAT isn't showing for me either

4 Oct 2019, 2:12 PM
#22
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: VAT4EU Support Thread

Hi

We have an issue on our website https://sitstandforbusiness.com/index.php?main_page=create_account where on the login/checkout Belgian customers cannot add thier VAT number.

I have trid with and with out the prefix and followed the instructions and I get the following message:

We were unable to validate the VAT Number that you entered. Please re-enter the value or contact us for assistance.

I am able to add it and give validation override in the back end but that not ideal. Please advise what's going wrong

4 Oct 2019, 3:05 PM
#23
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

Deb, if you PM me the VAT number and address you tried to use and I'll check it out.

4 Oct 2019, 3:32 PM
#24
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

I just went to http://ec.europa.eu/taxation_customs/vies/, where the following message is displayed:

Important Disclaimer:

  • Belgium’s (BE) National VIES Component is facing temporary technical issues related to the validation of Belgian VAT numbers.
    As a result, the validation of Belgian VAT numbers can be unavailable.
    The Belgian Tax Administration is working towards a resolution.
    ** Sincere apologies for any inconvenience.

*That's, apparently, the source of the issue.

14 Oct 2019, 3:16 PM
#25
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: VAT4EU Support Thread

Awesome. Thanks Cindy. And I thought our government was a mess :lookaroun

9 Jan 2020, 10:39 AM
#26
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: VAT4EU Support Thread

Bonjour Lat. I installed the VAT plugin but I have two problems one and an error in the Mydebug LOG
[09-Jan-2020 11:27:11 Europe/Brussels] Request URI: /index.php?main_page=checkout_shipping, IP address: ::1
#1 zcObserverVatForEuCountries->formatAddress() called at [/Applications/MAMP/htdocs/zcatemplates/includes/classes/observers/auto.vat_for_eu_countries.php:273]
#2 zcObserverVatForEuCountries->update() called at [/Applications/MAMP/htdocs/zcatemplates/includes/classes/class.base.php:103]
#3 base->notify() called at [/Applications/MAMP/htdocs/zcatemplates/includes/functions/functions_customers.php:96]
#4 zen_address_format() called at [/Applications/MAMP/htdocs/zcatemplates/includes/functions/functions_customers.php:139]
#5 zen_address_label() called at [/Applications/MAMP/htdocs/zcatemplates/includes/templates/bootstrap/templates/tpl_checkout_shipping_default.php:39]
#6 require(/Applications/MAMP/htdocs/zcatemplates/includes/templates/bootstrap/templates/tpl_checkout_shipping_default.php) called at [/Applications/MAMP/htdocs/zcatemplates/includes/templates/bootstrap/common/tpl_main_page.php:188]
#7 require(/Applications/MAMP/htdocs/zcatemplates/includes/templates/bootstrap/common/tpl_main_page.php) called at [/Applications/MAMP/htdocs/zcatemplates/index.php:97]
--> PHP Warning: Use of undefined constant FILENAME_CHECKOUT_ONE_CONFIRMATION - assumed 'FILENAME_CHECKOUT_ONE_CONFIRMATION' (this will throw an Error in a future version of PHP) in /Applications/MAMP/htdocs/zcatemplates/includes/classes/observers/auto.vat_for_eu_countries.php on line 549.

the other is that in the order I have three times written VAT + see image

Attachment 18789

Thank you.

9 Jan 2020, 12:12 PM
#27
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

Giovanni, I see (and will correct shortly) the cause of the first issue (the warning log).

For the second, I believe that that might be the base Zen Cart "multiple tax zones" display. How do you have the store's taxes set up? Is there a single VAT entry or are there multiple VAT taxes that could apply to an order?

GitHub issue created to track the change: https://github.com/lat9/vat4eu/issues/4

9 Jan 2020, 1:53 PM
#28
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

I've just submitted v2.0.1 of VAT4EU to the Zen Cart moderators for review; I'll post back here when it's available for download (https://www.zen-cart.com/downloads.php?do=file&id=2164).

 This release contains changes associated with the following GitHub issue (as reported by @diamond1, above):

#4: PHP Warning issued when One-Page Checkout is not also installed.

9 Jan 2020, 10:22 PM
#29
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: VAT4EU Support Thread

Thank you for your good care, the correction that you proposed works and I have more php error. Yes I have only one tax class and several areas but despite everything I have 3 times VAT display, on the other hand I have the store with the prices excluding VAT and I noticed that at the registration of the customer who is in the same country that the store receives a popup warning that it can recover the vat when it has to pay it, for info the store is in an CEE euro zone. but I check again if it is the case.

9 Jan 2020, 10:40 PM
#30
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: VAT4EU Support Thread

Good evening Lat, in fact the 3 times VAT which are printed, it is 3 times the desacription that there is on Tax Rates as I put VAT it prints 3 times.

21 Jan 2020, 1:25 PM
#31
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

lat9:

I've just submitted v2.0.1 of VAT4EU to the Zen Cart moderators for review; I'll post back here when it's available for download (https://www.zen-cart.com/downloads.php?do=file&id=2164).

 This release contains changes associated with the following GitHub issue (as reported by @diamond1, above):

#4: PHP Warning issued when One-Page Checkout is not also installed.
Now available for download.

10 Feb 2020, 4:14 PM
#32
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: VAT4EU Support Thread

hello, I have two warnings on admin / Order Total Modules.

--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_VAT_REFUND_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_VAT_REFUND_SORT_ORDER' (this will throw an Error in a future version of PHP) in //web/includes/modules/order_total/ot_vat_refund.php on line 22.

--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_VAT_REVERSE_CHARGES_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_VAT_REVERSE_CHARGES_SORT_ORDER' (this will throw an Error in a future version of PHP) in /web/includes/modules/order_total/ot_vat_reverse_charges.php on line 23.

10 Feb 2020, 9:22 PM
#33
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

diamond1:

hello, I have two warnings on admin / Order Total Modules.

--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_VAT_REFUND_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_VAT_REFUND_SORT_ORDER' (this will throw an Error in a future version of PHP) in //web/includes/modules/order_total/ot_vat_refund.php on line 22.

--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_VAT_REVERSE_CHARGES_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_VAT_REVERSE_CHARGES_SORT_ORDER' (this will throw an Error in a future version of PHP) in /web/includes/modules/order_total/ot_vat_reverse_charges.php on line 23.
Thanks for the report. Those warnings are issued when the order-totals are present in the file-system but not enabled. I should have a correction in a couple of days.

12 Feb 2020, 7:29 PM
#34
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

I've just submitted v2.0.2 of ***VAT4EU ***to the Zen Cart moderators for review; I'll post back here when it's available for download.

 This release contains changes associated with the following GitHub issue:

#5: Correct PHP warnings when the order-total files are present, but not installed.

12 Feb 2020, 9:11 PM
#35
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: VAT4EU Support Thread

Good evening Lat9, as usual fast as the wind, the modifications have worked well thank you very much.:hug:

16 Feb 2020, 4:57 PM
#36
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

lat9:

I've just submitted v2.0.2 of ***VAT4EU ***to the Zen Cart moderators for review; I'll post back here when it's available for download.

 This release contains changes associated with the following GitHub issue:

#5: Correct PHP warnings when the order-total files are present, but not installed.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=2164

17 Feb 2020, 11:49 AM
#37
diamond1 avatar

diamond1

Zen Follower

Join Date:
Jan 2010
Location:
France
Posts:
295
Plugin Contributions:
0

Re: VAT4EU Support Thread

diamond1:

Good evening Lat9, as usual fast as the wind, the modifications have worked well thank you very much.:hug:

Tank you so much :hug:

29 Feb 2020, 4:11 PM
#38
dharrison avatar

dharrison

Zen Follower

Join Date:
Mar 2009
Location:
Essex, UK
Posts:
448
Plugin Contributions:
0

Re: VAT4EU Support Thread

Hi

I am currently upgrading our site from 1.5.5e to 1.5.6c. I also have Edit orders installed (which are ocmpatible) However I am getting a broken screen on when I select Order > Edit
The log files displays the following error(s):

[29-Feb-2020 17:02:26 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function zen_html_quotes() in MyDrive\MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php:305
Stack trace:
#0 MyDrive\includes\classes\class.base.php(103): Vat4EuAdminObserver->update(Object(notifier), 'EDIT_ORDERS_ADD...', Object(order), '', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
#1 MyDrive\MyAdmin\edit_orders.php(968): base->notify('EDIT_ORDERS_ADD...', Object(order), '')
#2 {main}
thrown in MyDrive\MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php on line 305

[29-Feb-2020 17:02:26 Europe/Berlin] Request URI: MyDrive\MyAdmin\edit_orders.php?page=1&oID=4&action=edit, IP address: 127.0.0.1
--> PHP Fatal error: Uncaught Error: Call to undefined function zen_html_quotes() in MyDrive\MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php:305
Stack trace:
#0 MyDrive\includes\classes\class.base.php(103): Vat4EuAdminObserver->update(Object(notifier), 'EDIT_ORDERS_ADD...', Object(order), '', NULL, NULL, NULL, NULL, NULL, NULL, NULL)
#1 MyDrive\MyAdmin\edit_orders.php(968): base->notify('EDIT_ORDERS_ADD...', Object(order), '')
#2 {main}
thrown in MyDrive\MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php on line 305.

MyAdmin\includes\classes\observers\Vat4EuAdminObserver.php on line 305 reads (in red and bold)

                $vat_info =
                    '<tr>' . PHP_EOL .
                    '    <td> </td>' . PHP_EOL .
                    '    <td> </td>' . PHP_EOL .
                    '    <td><strong>' . VAT4EU_ENTRY_VAT_NUMBER . '</strong></td>' . PHP_EOL .
           [B]         '    <td>' . zen_draw_input_field('vat_number', zen_html_quotes($vat_number), 'size="45"') . $valid_indicator . $hidden_fields . '</td>' . PHP_EOL .[/B]
                    '    <td> </td>' . PHP_EOL .
                    '    <td> </td>' . PHP_EOL .
                    '</tr>' . PHP_EOL .
                    '<tr>' . PHP_EOL .
                    '    <td> </td>' . PHP_EOL .
                    '    <td> </td>' . PHP_EOL .
                    '    <td><strong>' . VAT4EU_ENTRY_OVERRIDE_VALIDATION . '</strong></td>' . PHP_EOL .
                    '    <td>' . zen_draw_checkbox_field('vat_number_override', '', ($vat_validated == VatValidation::VAT_ADMIN_OVERRIDE)) . '</td>' . PHP_EOL .
                    '    <td> </td>' . PHP_EOL .
                    '    <td> </td>' . PHP_EOL .
                    '</tr>' . PHP_EOL;
                $p2 .= $vat_info;
                break;
                
            // -----

MyDrive\MyAdmin\edit_orders.php(968) Reads

    $module_name = (EO_ADDRESSES_DISPLAY_ORDER == 'CBS') ? 'eo_addresses_cbs.php' : 'eo_addresses_csb.php';
    require DIR_WS_MODULES . 'edit_orders/' . $module_name;
    
    // -----
    // Give a watching observer the chance to inject some additional, per-address-type, information.
    //
    $additional_rows = '';
[B]    $zco_notifier->notify('EDIT_ORDERS_ADDITIONAL_ADDRESS_ROWS', $order, $additional_rows);[/B]
    echo $additional_rows;
?>

It loads ok when I turn off the vat 4 eu. Please could anyone shed any light?

Many thanks in advance.

29 Feb 2020, 6:37 PM
#39
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

Hmm, I can't find any instance of that zen_html_quotes function. I'll review the VAT4EU processing and should have an update tomorrow.

29 Feb 2020, 6:53 PM
#40
lat9 avatar

lat9

Administrator

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

Re: VAT4EU Support Thread

lat9:

Hmm, I can't find any instance of that zen_html_quotes function. I'll review the VAT4EU processing and should have an update tomorrow.
No ideas ... possibly (?) from an older version of EO?

In any case, you can replace that function call with one to zen_db_output; I'll get the VAT4EU GitHub updated.