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.