
The ClearOrderForm method empties the OrderForm Dictionary, then creates new instances of the OrderForm's internal collections, which include the ISimpleList Items collection, the ISimpleList _Basket_Errors collection, the ISimpleList _Purchase_Errors collection, and the verify_with collection. These collections are empty.
HRESULT ClearOrderForm();
None.
<commerce.h>
If ClearOrderForm successfully instantiates these ISimpleList pointers, ClearOrderForm returns S_OK; otherwise, E_FAIL.