Commerce Server General - Exception during order processing

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > January 2006 > Exception during order processing





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 Exception during order processing
ukeu

2006-01-05, 7:56 am

I face the following exception when I run the total pipeline.Please help.

Commerce.SampleRegionalTax.1 _cy_oadjust_adjustedprice not found!
(orderform=default)

Advance thanks,
UKEU


Ravi Shankar

2006-01-05, 6:03 pm

Hi Ukeu,

Looks like you've not setup the "SampleRegionalTax" component properly.
Information is available at
http://msdn.microsoft.com/library/d....asp?frame=true

For this to work basically
1. You need to setup the Country/State codes and Tax Rates using BizDesk
2. Capture the correct State & Country Codes during the checkout process in
the billing address.
--
Ravi Shankar


"ukeu" wrote:

> I face the following exception when I run the total pipeline.Please help.
>
> Commerce.SampleRegionalTax.1 _cy_oadjust_adjustedprice not found!
> (orderform=default)
>
> Advance thanks,
> UKEU
>
>
>

ukeu

2006-01-06, 2:57 am

Hi Ravi,
I have followed your instructions and able to run the total
pipeline.But the order confirmation page does gives '0' for cost,quantity
etc. I think the problem is in running basket pipeline. These are the
fields I have added to the line item in AddtoBasket.aspx page. please let
me know if I have missed something. The Basket pipeline nullifies all the
items once I run the same. Please help.

li.ProductId="100";
li.ProductCatalog="defualt";
li.ProductCategory="Geared";

li.Quantity=1;
li.ShippingAddress="addr";

Advance thanks,
UKEU

Ravi Shankar

2006-01-06, 2:57 am

All fields with the exception of "ShippingAddress" look OK to me. The
"ShippingAddress" is actually the ID (GUID) of the Shipping Address and not a
string with the address.. Is "defualt" really your Catalog Name ?

If you think that the basket pipeline is not behaving properly then I'd
suggest you enable a trace on the basket pipeline and log all the keys and
values that get computed there... There is an excellent paper from Microsoft
pertaining to debugging CS pipelines at
http://msdn.microsoft.com/library/?....asp?frame=true
--
Ravi Shankar


"ukeu" wrote:

> Hi Ravi,
> I have followed your instructions and able to run the total
> pipeline.But the order confirmation page does gives '0' for cost,quantity
> etc. I think the problem is in running basket pipeline. These are the
> fields I have added to the line item in AddtoBasket.aspx page. please let
> me know if I have missed something. The Basket pipeline nullifies all the
> items once I run the same. Please help.
>
> li.ProductId="100";
> li.ProductCatalog="defualt";
> li.ProductCategory="Geared";
>
> li.Quantity=1;
> li.ShippingAddress="addr";
>
> Advance thanks,
> UKEU
>
>

ukeu

2006-01-06, 2:57 am

Oh..ok..Ya my catalog name is "default". Should I give some other name?
Please let me know how I should retreive the 'Shipping Method GUID' and
append to li.

Advance Thanks,
UKEU

Ravi Shankar

2006-01-06, 7:55 am

I don't think there is an issue in using "default" as the catalog name
There is a code sample to work the basket documented at
http://msdn.microsoft.com/library/d....asp?frame=true

The code sample to help get the Shipping Method is document at
http://msdn.microsoft.com/library/d....asp?frame=true
--
Ravi Shankar


"ukeu" wrote:

> Oh..ok..Ya my catalog name is "default". Should I give some other name?
> Please let me know how I should retreive the 'Shipping Method GUID' and
> append to li.
>
> Advance Thanks,
> UKEU
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com