AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

SnipcartEngine..::..OrderCompleted Method (AdvantageMasterPageTemplate, Action<(Of <(<'String>)>)>, eSnipcartServiceType)

This event is triggered when an order has just been paid; this can be useful if you want to show your customers a special notice or if you want to integrate with third-party analytics tools

Namespace:  AdvantageCSP.Snipcart.Engine
Assembly:  AdvantageCSP.Snipcart (in AdvantageCSP.Snipcart.dll)

Syntax


public static void OrderCompleted(
	AdvantageMasterPageTemplate masterPage,
	Action<string> myMethodName,
	eSnipcartServiceType serviceType
)

Parameters

masterPage
Type: AdvantageCMS.Core.Common.BaseClasses..::..AdvantageMasterPageTemplate
The AdvantageMasterPageTemplate that called this method
myMethodName
Type: Action<(Of <(<'String>)>)>
The method name to call on trigger
serviceType
Type: AdvantageCSP.Snipcart.Enums..::..eSnipcartServiceType
PostBack or Callback