AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

SnipcartEngine..::..OrderCompleted Method (AdvantageModule, 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(
	AdvantageModule module,
	Action<string> myMethodName,
	eSnipcartServiceType serviceType
)

Parameters

module
Type: AdvantageCMS.Core.Common.BaseClasses..::..AdvantageModule
The AdvantageModule 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