Instance Method

logPurchaseSuccess(item:transactionIdentifier:)

log an purchase success event

Declaration

func logPurchaseSuccess(item: ProductItem, transactionIdentifier: String?)

Parameters

item

The product item your purchased

transactionIdentifier

Pass the transactionIdentifier related to this purchase if there is one.