Click or drag to resize
IShoppingServiceCreateOrder Method
Validates and creates order from current shopping cart. If order creation was successful empties shopping cart. If order requires an user account, handles its creation. Also tracks order conversion, sends order notifications and logs purchase activities.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
OrderInfo CreateOrder()

Return Value

Type: OrderInfo
Returns the OrderInfo of newly created order.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when validation fails.
See Also