Name

TAXSHIPPING — list of geographical identifiers for which taxing is applied

SYNOPSIS

{ area name... }

DESCRIPTION

A space- or comma-separated list of codes for which shipping is taxed and needs to be applied. This is used in conjunction with the FlyTax taxing method.

VARIABLE TYPE

Catalog variable

EXAMPLES

Example:

Variable TAXSHIPPING NV, IL

NOTES

AVAILABILITY

TAXSHIPPING is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Interpolate.pm
Line 5475 (context shows lines 5465-5479 in fly_tax():5458)


if(! $area) {
my $zone = $Vend::Cfg->{SalesTax};
while($zone =~ m/(\w+)/g) {
  last if $area = $::Values->{$1};
}
}
#::logDebug("flytax area=$area");
return 0 unless $area;
my $rates = $::Variable->{TAXRATE};
my $taxable_shipping = $::Variable->{TAXSHIPPING} || '';
my $taxable_handling = $::Variable->{TAXHANDLING} || '';
$rates =~ s/^\s+//;
$rates =~ s/\s+$//;
$area =~ s/^\s+//;

Source: lib/Vend/Payment/GoogleCheckout.pm
Line 501 (context shows lines 491-505 in googlecheckout():399)

my $defaultcountry = charge_param('defaultcountry');
my $defaultstate = charge_param('defaultstate');
my $country  = uc($actual->{country});
           $country  = $defaultcountry unless $country; 
 my $state    = uc($actual->{state});
             $state    = $defaultstate unless $state;
 my $zip_pattern = $actual->{zip} || $::Values->{zip};
             $zip_pattern =~ /(\S\S\S).*/;
             $zip_pattern = "$1"."*";
   my $taxshipping = 'false';
             $taxshipping = 'true' if (($country =~ /$::Variable->{TAXSHIPPING}/) \
 or ($state =~ /$::Variable->{TAXSHIPPING}/) or ($alwaystaxshipping == '1'));
#::logDebug(":GCO:".__LINE__.": shipping=$::Session->{final_shipping}, \
 $shipping; handling=$handling; taxshipping=$::Variable->{TAXSHIPPING}; \
 country=$country; tx=$taxshipping");
my $stax = Vend::Interpolate::salestax();
print "GCO:".__LINE__.": stax=$stax; mvst=$::Values->{mv_salestax}, $::Values->{salestax}\n";
if ($salestax == '0') { 

AUTHORS

Interchange Development Group

SEE ALSO

TAXRATE(7ic), TAXHANDLING(7ic), TAXCOUNTRY(7ic)

DocBook! Interchange!