Commerce Server General - Custom Tax Calculation

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > January 2005 > Custom Tax Calculation





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 Custom Tax Calculation
Uday

2005-01-18, 5:53 pm

Hi Everyone,

We are using CS2002 on SQL 2K running on W2K and IIS 5.0

We have to perform our own tax and total calcuations as the tax process is
different for us than the std. tax process.

When we were using the Sample tax and Required tax stuff from Commerce
server Total pipeline, the order was getting processes through Checkout
(using Verisign).
But our tax and total were not in line with our custom requirements.

We wrote Tax calculation and ran until the order summary where it displays
the tax and total numbers correctly but during Checkout processing it errors
out saying Value for key '_cy_tax_total' in dictionary '' missing (expected a
variant of type 6) (orderform=default). But "_cy_tax_total" is present on the
Order summary under OrderGroup's OrderForm object. We can see the value in
dump but the value disappears when we go for processing.

Any help is appreciated.

Thanks,
Uday

David Messner [MSFT]

2005-01-21, 5:50 pm

Keys that begin with underscores are not persisted with the OrderForm by
default.

Typically for order summary page you run basket + total pipeline.
Then for final checkout you run basket + total + checkout.

If you're not doing this, my guess is you are getting the tax total
calculated for order summary page but are neither persisting it nor
recalculating it on checkout.

Let me know if I'm off base!

-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2005 Microsoft Corporation. All rights
reserved.

--------------------
Thread-Topic: Custom Tax Calculation
thread-index: AcT9citalCzUm5BRTIuznKEXQON5GQ==
X-WBNR-Posting-Host: 66.80.136.126
From: "=?Utf-8?B?VWRheQ==?=" <Uday@discussions.microsoft.com>
Subject: Custom Tax Calculation
Date: Tue, 18 Jan 2005 07:27:06 -0800
Lines: 24
Message-ID: <8A79DB8C-7F76-4EDF-B948-5DF46A3B05BE@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15464
X-Tomcat-NG: microsoft.public.commerceserver.general

Hi Everyone,

We are using CS2002 on SQL 2K running on W2K and IIS 5.0

We have to perform our own tax and total calcuations as the tax process is
different for us than the std. tax process.

When we were using the Sample tax and Required tax stuff from Commerce
server Total pipeline, the order was getting processes through Checkout
(using Verisign).
But our tax and total were not in line with our custom requirements.

We wrote Tax calculation and ran until the order summary where it displays
the tax and total numbers correctly but during Checkout processing it
errors
out saying Value for key '_cy_tax_total' in dictionary '' missing (expected
a
variant of type 6) (orderform=default). But "_cy_tax_total" is present on
the
Order summary under OrderGroup's OrderForm object. We can see the value in
dump but the value disappears when we go for processing.

Any help is appreciated.

Thanks,
Uday


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com