ShoppingCartServiceTryGetLastReceipt Method

Get the receipt from the last successful checkout performed with this cart

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public bool TryGetLastReceipt(
	out IReceipt receipt
)

Parameters

receipt  IReceipt
Will store the receipt from the last successful checkout if one was found

Return Value

Boolean
True if a receipt was found

Remarks

NetForum baseline does not actually support retrieving receipts after a checkout completes, so the best we can provide here is a cache of the last known receipt.

See Also