Re: VAT-mod for European companies
I have cut 'n' pasted dimjoula's update for 1.3.9h (see here: http://www.zen-cart.com/forum/showth...=35744&page=31 ) into a fresh Zencart 1.5.0. Everything worked the same as 1.3.9h for me. I only have on mod installed (Ceon's Excellent Back In Stock notifications), and a template that just adds cosmetic changes. I have also tested this on a completely fresh 1.5.0 install with no changes (including DB), and it worked the same as 1.3.9h. Of course, other Zencart's may differ. I have updated the SQL install file so that it handles the new PCI compliance DB registration for modules.
Here is the link if anyone want to download and test:
http://www.wilorc.co.uk
** PLEASE REMEMBER: This is an unofficial release. It comes with no guarantees. Remember to back up your data and files. **
Re: VAT-mod for European companies
Thanks wilorc! I'll be trying this out on a test cart. Will post back how it goes. I'm busy with a number of other projects so I may not post back for a week or so.
Re: VAT-mod for European companies
Quote:
Originally Posted by
wilorc
I have cut 'n' pasted dimjoula's update for 1.3.9h (see here:
http://www.zen-cart.com/forum/showth...=35744&page=31 ) into a fresh Zencart 1.5.0. Everything worked the same as 1.3.9h for me. I only have on mod installed (Ceon's Excellent Back In Stock notifications), and a template that just adds cosmetic changes. I have also tested this on a completely fresh 1.5.0 install with no changes (including DB), and it worked the same as 1.3.9h. Of course, other Zencart's may differ. I have updated the SQL install file so that it handles the new PCI compliance DB registration for modules.
Here is the link if anyone want to download and test:
http://www.wilorc.co.uk
** PLEASE REMEMBER: This is an unofficial release. It comes with no guarantees. Remember to back up your data and files. **
Couldn't wait so I found a small slot of time to try this out. The only problem I found (so far) is the admin/customers.php file was missing and was keeping the vat from showing in customer address info in admin. I used that file from a different package and that fixed the problem.
Re: VAT-mod for European companies
Thanks buildingblocks for testing and spotting the missing admin/customers.php file. I have just released an updated version of this **unofficial** module. It's got the missing admin/customers.phpfile with merged changes from dimjoula'sprevious module, plus I have also modified includes/functions/functions_taxes.php so that VAT exempt EU customers do not see prices with VAT when they are logged into their accounts. VAT is also not displayed on the shipping page for VAT exempt EU customers.
You can download it here: http://www.wilorc.co.uk
Re: VAT-mod for European companies
I have made a small, but important, change to:
/includes/functions/functions_taxes.php
On line 55 I've changed:
Code:
if ($entry_tva_intracom != "" and $zone_id != STORE_ZONE) {
To be:
Code:
if ($entry_tva_intracom != "" and $country_id != STORE_COUNTRY) {
This change will ensure that a VAT registered customer who is registered in the same country as the store does not get zero-rated prices.
Re: VAT-mod for European companies
I've discovered that at least one country can no longer be checked with this VAT number checking module. The country is Spain, and there may be others. So I have verified that United Kingdom, Sweden, France, Netherlands, Germany, Belgium, Ireland, Bulgaria and Finland are working. The reason why some countries cannot be checked is because it is using an out-dated method of connecting to VIES. It is using a php function called file_get_contents(). Basically, it is just doing a glorified wget on the VIES website. The correct method to use is WSDL SOAP Interface. I'm going to start work on changing this mod to use the SOAP interface, and it should be available soon.
Re: VAT-mod for European companies
I've converted VAT Mod running on my site to use the WSDL SOAP Interface. I've tested and am now running live. All is working normally, and all EU country VAT numbers are being checked correctly. One proviso is that it requires the PHP soap extension to be installed and configured correctly (php.ini), otherwise it will completely break everything, i.e., zencart total screen white-out. For that reason I'm not going to add the new code to the download, but I'm happy to pass it on to anyone who wants it and understands about installing and configuring PHP extension modules.
Re: VAT-mod for European companies
Unfortunately the links to both the 1.3.9 and 1.5 version seem to be no longer available. Would anyone be able to post working links please? Many thanks.
Re: VAT-mod for European companies
Quote:
Originally Posted by
wilorc
Hi Wilorc, is your version still available somewhere? The link doesn't work anymore.
Re: VAT-mod for European companies
I would like to be a third person requesting a new updated link to the 1.3.9 beta version that purportedly works in 1.5 too. Thanks!