Commerce Server General - Summary Page - Confirmation page

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > February 2004 > Summary Page - Confirmation page





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 Summary Page - Confirmation page
Mark

2004-02-12, 6:39 am

I agree that both basket and total must be called prior to
calling Checkout. Question is if after I call basket and
total, I save the basket as an order; then Call
mscsOrderGrpMgr.DeleteOrderGroupFromDisk(m_UserID) to
completely delete from disk. On the Confirmation page - I
load the order using the following prior to calling the
Checkout.pcf:

Set mscsOrderGrp = GetOrderGroup(m_UserID)
Call mscsOrderGrp.LoadOrder(sOrderID)

Then I call the Checkout.pcf - where it fails on the
RequiredPayment component.

component[0x5] about to be called ProgID:
Commerce.RequiredPayment.1
RootObject: ReadValue _payment_auth_code VT_NULL
RootObject: ReadValue _Purchase_ErrorsPV=[0xc4eb338
_Purchase_Errors: AddItem 1 VT_EMPTY
__empty__ VT_BSTR There was a problem
authorizing your credit. Please verify your payment
information or use a different card.
PIPELINE:-- component [0x5] returned hr: 0x0,
IErrorLevel=2 in 0 milliseconds


So, I am wondering if it is really neccessary to re-run
basket and total pipelines on the Confirmation page?

Thanks

Mark
>-----Original Message-----
>The 3 main pipelines which comes with solution site i.e
>basket, total & checkout, requires to run previous ones
>before you run the final.
>The order is:
>1. basket
>2. total
>3. checkout
>
>So if you want checkout to run, you have to run #1 & #2
>before that. Reason for this is that all the temporary
>variables which starts with _ (eg _product_id etc.) lose
>their value.. so you have to run all the pipelines to the
>end..
>
>-Dinesh Chadha
>
runs[color=blue]
checkout.pcf[color=blue]
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com