The OrderExecute method runs the order processing pipeline (OPP) or Commerce Interchange Pipeline (CIP).
HRESULT IPipeline::OrderExecute(
longlMode// in
IDispatch *pDispOrder// in
IDispatch *pDispContext// in
longlFlags// in
long *plErrorLevel// out, retval
);
This parameter indicates the type of operation being conducted on the OrderForm or Dictionary object. In Commerce Server version 3.0, this parameter is ignored.
| Value | Meaning | 
|---|---|
| 1 | No errors, pipeline executed successfully. | 
| 2 | Basket or purchase errors for this operation. | 
| 3 | Serious errors in execution of this pipeline. | 
This error information is meant to supplement the HRESULT information that is returned. The pipeline maps errors returned from components (E_xxxx errors) to an error level of 2.
<pipeline.h>
<pipecomp.h>
| Value | Description | 
|---|---|
| S_OK | The order processing pipeline (OPP) or Commerce Interchange Pipeline (CIP) was executed successfully. | 
| E_INVALIDARG | The pdispErrorLevel or pdispOrderForm parameters are NULL. |