ShoppingCartServiceTryGetLastReceipt Method
Get the receipt from the last successful checkout performed with this cart
Namespace: Ignition.Commerce.ShoppingAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public bool TryGetLastReceipt(
out IReceipt receipt
)
Public Function TryGetLastReceipt (
<OutAttribute> ByRef receipt As IReceipt
) As Boolean
public:
virtual bool TryGetLastReceipt(
[OutAttribute] IReceipt^% receipt
) sealed
abstract TryGetLastReceipt :
receipt : IReceipt byref -> bool
override TryGetLastReceipt :
receipt : IReceipt byref -> bool
- receipt IReceipt
- Will store the receipt from the last successful checkout if one was found
BooleanTrue if a receipt was found
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.