TAXSHIPPING — list of geographical identifiers for which taxing is applied
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.
Interchange 5.7.0:
Source: lib/Vend/Interpolate.pm
Line 5430 (context shows lines 5420-5434 in fly_tax():5413)
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') {