Click or drag to resize
EcommerceActivityLoggerLogPurchaseActivity Method
Logs purchase activity.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public void LogPurchaseActivity(
	int orderID,
	double totalPrice,
	string totalPriceInCorrectCurrency,
	bool loggingDisabledInAdministration,
	Nullable<int> contactID = null
)

Parameters

orderID
Type: SystemInt32
Order ID
totalPrice
Type: SystemDouble
Order total price
totalPriceInCorrectCurrency
Type: SystemString
String representation of order total price in correct currency
loggingDisabledInAdministration
Type: SystemBoolean
True if activities should not be logged in administration
contactID (Optional)
Type: SystemNullableInt32
If set overrides ActivityContactID of activity
See Also