onPurchaseConsumed

abstract fun onPurchaseConsumed(productId: String, purchase: PurchaseResult)

Called when a purchase is consumed (for consumable products). After consumption, the product can be purchased again. Use this to mark the purchase as consumed in your tracking system.

Parameters

productId

The product ID that was consumed.

purchase

The purchase result that was consumed.