Re: VAT-mod for European companies
VAT-Mod BETA UNOFFICIAL for Zen Cart v. 1.3.9e
For Companies inside European Union
===========================
Remake and compatibility with Zen Cart v. 1.3.9e
Special edition done by dimjoula.
IMPORTANT NOTE: this is not the official release from Beez & Vike.
It is a *BETA* version. I did a copy and paste from the previous codes (VAT-Mod 1.3.0 for Zen Cart v. 1.3.8a) and paste them to Zen Cart v. 1.3.9e files. It works for me with my own personal configuration, but you should take it with care. IT MAY NOT WORK WITH YOUR OWN CONFIGURATION out of the box. Perhaps you will need to edit some files. If it is the case, please share it here.
BACKUP - BACKUP first your files and database before updating your store with these files. It may be buggy. You must know how to restore it!!!
What's new:
- PARTIAL (90%) Compatibility with Zen Cart v. 1.3.9e (but should be OK in most regular situations; potential problem when the customer uses several different addresses located in different countries)
- french translation
- update of the VIES link to check the validity of the number (only for a compatibility with php 5.3)
- THIS FUNCTION INTRODUCED IN THE PREVIOUS MOD DOES NOT WORK ANYMORE: "Don't add tax on any prices in the store if customer is logged in with verified VAT-number and customers shipping address is not in the same country as the store." So, the file catalog/includes/functions/functions_taxes.php is not updated. Please, use the geniune file from 1.3.9e instead.
Download the file here: http://dl.free.fr/bdI0KVTFH (Zip file, 119 KB) :beta:
Re: VAT-mod for European companies
Quote:
Originally Posted by
infocom
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.
Same here does not work need to fix it. Everything else works with the zones and taxes...
i get this error "Warning: file_get_contents() expects at most 2 parameters, 3 given in /includes/functions/extra_functions/functions_vatmod.php on line 84"
Re: VAT-mod for European companies
And also i installed an earlier version so how do i remove the old sql
INSERT INTO configuration_group VALUES (27, "VAT-Mod", "VAT-Mod options", 27, 1);
INSERT INTO configuration VALUES ("", "Check the European Tax number", "ENTRY_TVA_INTRACOM_CHECK", "true", "Check the Customer's European Tax number by the europa.eu.int server", 27, 1, "", "", NULL, "zen_cfg_select_option(array('true', 'false'),");
INSERT INTO configuration VALUES ("", "European Tax number of the store", "TVA_SHOP_INTRACOM", "", "European Tax number:", 27, 22, "", "", NULL, NULL);
INSERT INTO configuration VALUES ("", "Minimum characters for European Tax number", "ENTRY_TVA_INTRACOM_MIN_LENGTH", 10, "Required characters for European Tax number (0 if you don't want checking)", 27, 17, "", "", NULL, NULL);
ALTER TABLE address_book ADD entry_tva_intracom VARCHAR(32) DEFAULT NULL AFTER entry_company;
ALTER TABLE orders ADD billing_tva_intracom VARCHAR(32) AFTER billing_company;
and ad the new
Re: VAT-mod for European companies
Your problem is a very simple configuration problem. Go to the Zen Cart Admin, menu Configuration -> VAT-MOD and change the number in front of "Minimum characters for European Tax number". Put 0 for not check, or something to 4 (the minimum for Romania). If this does not help, I have no other clue.
Re: VAT-mod for European companies
VAT-Mod BETA UNOFFICIAL for Zen Cart v. 1.3.9f
For Companies inside European Union
===========================
Remake and compatibility with Zen Cart v. 1.3.9f
Special edition done by dimjoula.
IMPORTANT NOTE: this is not the official release from Beez & Vike.
It is a *BETA* version. I did a copy and paste from the previous codes (VAT-Mod 1.3.0 for Zen Cart v. 1.3.8a) and paste them to Zen Cart v. 1.3.9f files. It works for me with my own personal configuration, but you should take it with care. IT MAY NOT WORK WITH YOUR OWN CONFIGURATION out of the box. Perhaps you will need to edit some files. If it is the case, please share it here.
BACKUP - BACKUP first your files and database before updating your store with these files. It may be buggy. You must know how to restore it!!!
What's new:
- PARTIAL (90%) Compatibility with Zen Cart v. 1.3.9f (but should be OK in most regular situations; potential problem when the customer uses several different addresses located in different countries)
- french translation
- update of the VIES link to check the validity of the number (only for a compatibility with php 5.3)
- THIS FUNCTION INTRODUCED IN THE PREVIOUS MOD DOES NOT WORK ANYMORE: "Don't add tax on any prices in the store if customer is logged in with verified VAT-number and customers shipping address is not in the same country as the store." So, the file catalog/includes/functions/functions_taxes.php is not updated. Please, use the geniune file from 1.3.9f instead.
Download the file here: http://dl.free.fr/ihFjqxh49 (Zip file, 151 KB) :beta:
Re: VAT-mod for European companies
When a user clicks on my account link there is no option to add the vat number or change company name if they did not enter it upon registration......This would be helpful
Re: VAT-mod for European companies
It is there actually - just under edit address - not where I was expecting.
"So, the file catalog/includes/functions/functions_taxes.php is not updated. Please, use the geniune file from 1.3.9f instead"
-That is important - blank screen otherwise as i just found out
Re: VAT-mod for European companies
For your information, the "VAT-Mod BETA UNOFFICIAL for Zen Cart v. 1.3.9f" module is fully compatible with 1.3.9h.
Re: VAT-mod for European companies
I'm using 1.3.8.a it is a Dutch shop selling licenses.
The text on the order should be changed according to if it's a company and the country:
Country Customer On Order
Netherlands Company 19 % VAT
Netherlands No Company 19 % VAT
EU not NL Company VAT Reversed Charge
EU not NL No Company VAT Reversed Charge
Outside EU Company empty
Outside EU No Company empty
How can I accomplish this?
Re: VAT-mod for European companies
Hi,
I have the 1.3.9 version, and I executed the sql patch, and upload the files, but now I cannot enter in the admin (blank site).
Do you know any reason why could that happend how could I fix it?
Thanks!
edit: Oops, I saw the answer infocom gave one page earlier. There was a problem with the old functions_vatmod.php, but it is fixed in the new version ;-)