Hi Just installed this now my Admin is blank... it initially worked, but I went to Modules -> Order Total and it was blank, now my whole admin is blank I cannot use it. Any ideas?
Thanks
Printable View
Hi Just installed this now my Admin is blank... it initially worked, but I went to Modules -> Order Total and it was blank, now my whole admin is blank I cannot use it. Any ideas?
Thanks
Installing the debug tool shows this error:-
Cant believe its not working out of the box for a mod thats been there since Mar 12 2009!Code:PHP Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/mysite/public_html/shop/admin/includes/functions/extra_functions/functions_vatmod.php on line 129
In the above file there is an error. The array is prematurely closed at Slovania, this should be a comma:-
Change:-
ToCode:'CZ'=>'CZ', //Czech Republic
'SI'=>'SI');//Slovania
'RO'=>'RO', //Romania
'BG'=>'BG'); //Bulgaria
Code:'CZ'=>'CZ', //Czech Republic
'SI'=>'SI', //Slovania
'RO'=>'RO', //Romania
'BG'=>'BG'); //Bulgaria
I chose Finland to test this as my first VAT number, FI12345678 (FI + 8 characters) and it tells me "The VAT number does not match server request." and states I should use FI + 8 characters :frusty:
Had to switch check VAT number off.
I have the same problem as a few previous reported.... customers that do NOT enter a VAT number are not getting charged VAT. The VAT is shown in checkout but is £0. The suggested fix here did not fix it: http://www.zen-cart.com/forum/showpo...&postcount=253. So it is NOT to do with NULL being in the entry_tva_intracom field. I get this issue with new customers having an empty entry_tva_intracom field.
I am not sure what is going on, but I may have a fix, although dont know the implications...
In includes/functions/extra_functions/functions_vatmod.php on line 146 is this:-
I changed the last return true to return false, and it working now, but only four countries not in the store country:-Code:if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
return false;
} else {
return true;
}
This is because in includes/functions/extra_functions/functions_taxes.php is the following line which was returning 0 as the zen_get_tax_rate() if the country was not equal to the store country.Code:if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
return false;
} else {
return false;
}
Code:$tva_intracom_number = get_tva_intracom_number();
if ($tva_intracom_number === true && $_SESSION['customer_id']) {
return 0;
}
I dont quite understand this thing with comparing whether the person is in the store country or not because they pay VAT with no VAT number, or they dont pay VAT with a VAT number whether they are in the store country or not.
i have succesfully installed teh module. It works as it should.
VAT number included in the registration means prices without tax in the store and on teh invoice.
However, i am missing the customers VAT nummer on the invoice. And that is a legal obligation if i do not charge TAX on my invoice.
How can i have this automaticly included ( what did i do wrong, cause i thought this should automaticly be included )
Thanks
Hi all,
I have installed this mod with 1.3.9d, but it is not working during the check-out process. When I go to the check-out, until step 1/3 everything seems normal. In step 2 of 3 (payment method) I get a complete white screen.
When I put back the original datafiles this page is just loading again.
Does anybody know what can be the problem?
I have done the database update (now rows for tva* have been made) and done the other suggestion of changing both functions_vatmod.php files
I hope somebody can help me with this.
This mod is not compatible with Zen Cart 1.3.9e. It is only compatible with 1.3.8. DON'T INSTALL IT! :no:
Doing a simple copy and paste from the mod to the new 1.3.9 files does not work. I notice that tax calculation changed in the file /includes/classes/order.php
It is not working as expected. I am not a developer, so it is a bit hard for me to find out what I have to edit. Really, the tax calculation changed a bit and some new constant values have appeared.
As long as the problem with this mod is not fixed, I will not update my store from 1.3.8 to 1.3.9e.
Unfortunately, past events show that the developers of this mod are not reactive. We may wait a long time (a year) before a new version is released. :frusty:
No, you have simply erased new zen-cart 1.3.9 files with old zen-cart 1.3.8 files. And there are many changes in these codes as bug fixes and security fixes. You have deleted all these.