If this is your first visit, check our documentation. To post, register or login.

VAT mod for european companies on ZC 1.5

Started by hyperion12 on 14 Oct 2012, 10:27 PM · Views: 6,633

Results 1 to 15 of 15
14 Oct 2012, 10:27 PM
#1
hyperion12 avatar

hyperion12

New Zenner

Join Date:
Jun 2012
Posts:
11
Plugin Contributions:
0

Post #1 by hyperion12

Has anyone got this mod working in ZC 1.5?

I have a shop which has been around for some years, the VAT mod works fine in 1.38, but it seems to be a difficult task to get it working on ZC 1.5. The shop has the moneybookers and google checkout plugin installed, plus superorders and seo module, in addition a customized layout template, several languages and I am struggling with updates.

Or would you recommend to stay with ZC 1.38 (patched, of course)? I know of the security issues which ZC 1.38 has, as a fix I resticted access to the admin area to my fixed IP only by using Apache .htaccess rules as this shop is hosted on a dedicated server.

Any suggestions would be welcome.

25 Apr 2014, 7:37 AM
#2
ri_vier avatar

ri_vier

New Zenner

Join Date:
May 2010
Location:
The Netherlands, Waddinxveen
Posts:
5
Plugin Contributions:
0

Post #2 by ri_vier

Hello All Zenners,

I too want to know if some one has this VAT mod running on a 1.51 version.
If so, please tell us what to do to get it running, if there is any other modifications have to be made.

25 Apr 2014, 7:51 AM
#3
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Heerenveen, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Post #3 by design75

ri-vier:

Hello All Zenners,

I too want to know if some one has this VAT mod running on a 1.51 version.
If so, please tell us what to do to get it running, if there is any other modifications have to be made.

I have an updated version. But it is not ready to be uploaded to the downloads section. If you PM me your e-mail address, I will sentit to you by mail.

7 Feb 2015, 7:08 AM
#5
georgecy avatar

georgecy

New Zenner

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

Post #5 by georgecy

Design75:

I have an updated version. But it is not ready to be uploaded to the downloads section. If you PM me your e-mail address, I will sentit to you by mail.

Can you please give us an update on the status of the VAT mod. I am upgrading from version 1.3.8 to 1.5.4 and I would like to implement the Vat support.

16 Apr 2015, 9:47 PM
#6
soapycauldron avatar

soapycauldron

New Zenner

Join Date:
Apr 2015
Location:
Staffs, UK
Posts:
2
Plugin Contributions:
0

Post #6 by soapycauldron

Georgecy:

Can you please give us an update on the status of the VAT mod. I am upgrading from version 1.3.8 to 1.5.4 and I would like to implement the Vat support.

Has anyone managed to get this working yet by any chance? :)

16 Apr 2015, 9:54 PM
#7
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Heerenveen, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Post #7 by design75

soapycauldron:

Has anyone managed to get this working yet by any chance? :)

Every now and then when time allows me I am trying to work on this, but a lot of code has changed, and I do not (yet) understand it all. So I am not sure if all work 100%

29 Jun 2015, 4:19 PM
#8
knownonesince avatar

knownonesince

New Zenner

Join Date:
Dec 2009
Posts:
22
Plugin Contributions:
0

Post #8 by knownonesince

Design75:

I have an updated version. But it is not ready to be uploaded to the downloads section. If you PM me your e-mail address, I will sentit to you by mail.
Even though it may not be ready to be uploaded, please would you be so kind as to PM me your code as well?
I'd have to finally upgrade to 1.5.4 and would love to have a look at your code, please?
Thanks!

29 Jun 2015, 4:28 PM
#9
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Heerenveen, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Post #9 by design75

KnowNoneSince:

Even though it may not be ready to be uploaded, please would you be so kind as to PM me your code as well?
I'd have to finally upgrade to 1.5.4 and would love to have a look at your code, please?
Thanks!

I will make a repository on github later this day, and post the link here. This way it is easier for every one to contribute.

30 Jun 2015, 8:33 AM
#11
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Heerenveen, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Post #11 by design75

posting the code here is not workable. When the mod is fished I will pack it up and add it to the downloads, but for now, it is untested and this is not the place to place untested code.
The git repo can be found here . Code suggestions are welcome :smile:

7 Jul 2015, 10:27 AM
#12
knownonesince avatar

knownonesince

New Zenner

Join Date:
Dec 2009
Posts:
22
Plugin Contributions:
0

Post #12 by knownonesince

Thank you very much! I will install it on my test server and let you know. I forked the Git as KopjeKoffie.

28 Mar 2016, 1:08 PM
#13
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Post #13 by manage_it

Anyone a working version of the module available?

9 May 2016, 11:52 AM
#15
siem avatar

siem

New Zenner

Join Date:
Mar 2015
Posts:
28
Plugin Contributions:
0

Post #15 by siem

I tried using the code from the git repo on a test site, togetheer with a slightly adjusted payment module fee.
Here's what I have found and remembered to write down:

When using an account where the user is in another country and using a European Tax number, if I try to checkout, store pickup and pay using paypal (this is where the extra fee comes into play), then the taxes calculated do include the taxes over the paypal fee. These taxes are included in the total price.

If I use some of the old code from this mod, where there is an adjustment made to /includes/functions/functions_taxes.php, then the unwanted taxes that were calculated over the paypal fee are no longer included in the total price.

When having an address in Belgium, no VAT number, then there were no taxes calculated. Added in /includes/functions/extra_functions/functions_vatmod.php at the last part of the file
changed:

if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
        return false;
    } else {
        return true;
    }

to:

if ($tva_intracom->fields['country_id'] === $store_country->fields['store_country']) {
        return false;
	} elseif ($tva_intracom->fields['tva_intracom'] === '') {
		return false;
    } else {
        return true;
    }	

I think that's the changes I have had to make, and so far it's looking good.
I'm glad someone is still working on this mod.