4 replies [Last post]
richard.toner's picture
Offline
Joined: 05/11/2010
Juice: 44
Was this information Helpful?

Hi all,

I had a little look around for anyone with similar problems, but couldn't find anything. I'll keep looking in the meantime, but I'm on a bit of schedule with my site configuration so would appreciate if anyone could help out.

I've created a simple VAT tax rule that applies 17.5% to all products. I had originally attached a condition to this so that it does not apply VAT to users with an EUVAT or Non-EU custom role using the following condition:

AND NOT ("EUVAT" OR "Non-EU")

However, this condition didn't seem to work as it failed to apply VAT to any users with a custom role attached to their account, regardless of what the role was. I found that VAT would only be applied to users that had no custom roles attached to their account.

I thought that the problem may have lay with the condition, so I removed it, assuming that VAT would now be applied to every user. However, the problem remained and every user with a custom role attached to their account did not get charged VAT.

To test this further I edited an existing user account and removed all custom roles. When I proceeded to the checkout, VAT was successfully being applied.

What could be the cause of this problem? Why would a user's role affect whether or not they are charged VAT when there are no conditions in place?

alien73's picture
Offline
Bug Finder
Joined: 11/10/2007
Juice: 450
Re: VAT Not Being Applied To Users With Custom Roles

Do you have others rules in place that is user based?

richard.toner's picture
Offline
Joined: 05/11/2010
Juice: 44
Re: Re: VAT Not Being Applied To Users With Custom Roles

I don't for taxes. The only feature that uses user-based conditions are the shipping methods and they work without fault.

daviesap's picture
Offline
Joined: 08/01/2010
Juice: 54
Hi Richard - Just wondering

Hi Richard -

Just wondering if you got anywhere with this?
I have the same issue and am constantly coming up against a brick wall.

Mistake I made I think was to go with Drupal 7 / UC 3

Any help much appreciated.

Andrew

richard.toner's picture
Offline
Joined: 05/11/2010
Juice: 44
Hi Andrew, I'm afraid that I

Hi Andrew,

I'm afraid that I haven't really got a solution to this problem. I got around this issue by starting from the ground up with the latest version of Ubercart at the time.

Our company is still working with Drupal 6 / Ubercart 2.2 so haven't encountered this issue before.

Hopefully someone else can chip in with a solution, but I hope you manage to get to the bottom of it soon.

Best Wishes,
Richard