Commerce Server General - SampleRegionalTax isn't calculating the tax

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > July 2005 > SampleRegionalTax isn't calculating the tax





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SampleRegionalTax isn't calculating the tax
gwheeloc

2005-07-12, 5:55 pm

I'm trying to use the SampleRegionalTax on a website with CS2002 (w/FP1) and
the value of the OrderForm.TotalTax is always equal to 0 after I run the
Total pipeline. Since I only need to calculate tax for one state I thought I
could use this for the site. I do run the basket pipeline just before I run
the total pipeline in the same method call.

I've looked at the Total pipeline log file and have not seen anything to
indicate a problem. I've turned on the dump of the OrderForm object and
_cy_tax_total is always 0. _tax_included = 0 as well. The field
item._cy_oadjust_adjustedprice does have the value of the item.
region_name="New York" country_code="United States". Are these correct? Or,
should they be "NY" and "US" respectively?

I would think this component would work for such a simple scenario.
Any help would be appreciated
gwheeloc.
gwheeloc

2005-07-12, 8:51 pm

It turns out that I had the wrong value being populated in the
country_code. It does need to be the country's code/abreviation/ISO
code. The region_name was fine. The region_code which is "NY" is used
instead.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com