[ic] Tax Exempt

Kevin Walsh kevin at cursor.biz
Tue Sep 19 15:47:41 EDT 2006


Steve Graham <icdev at mrlock.com> wrote:
> I'm implementing a tax_exempt variable in the userdb database, it 
> will have a value of 1 if exempt, and a default of 0.
> 
> Would it be best to test for this variable in the fly_tax routine in 
> interpolate.pm , or elsewhere?
> 
Probably near the top of Vend::Interpolate::salestax().

There are ways to do what you need without hacking the core.  For
instance, you could [assign] a zero salestax value when you find that
a user is logged and has the tax_exempt preference scratch set true.

Having said that, a "standard" (in-core) facility might be a useful
feature.  I can see it being used on new ecommerce-based websites that
find that they need to deal with international orders between countries
that use the VAT system (UK and Europe).

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/


More information about the interchange-users mailing list