Click or drag to resize
EcommerceActivityLoggerLogPurchaseActivity Method
Logs purchase activity.

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

Parameters

orderID
Type: SystemInt32
Order ID
totalPrice
Type: SystemDecimal
Order total price in main currency
totalPriceInCorrectCurrency
Type: SystemString
String representation of order total price in main 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