onPurchaseInitiated

This callback is invoked when the user initiates a purchase. You can trigger your custom purchase flow in response to this callback, read more.

Parameters

product

An AdaptyPaywallProduct of the purchase.

onStartPurchase

A PurchaseStartCallback that should be invoked to notify AdaptyUI that the purchase is started.

From Kotlin:

onStartPurchase()

From Java:

onStartPurchase.invoke()
onFinishPurchase

A PurchaseFinishCallback that should be invoked to notify AdaptyUI that the purchase is finished successfully or not, or the purchase is canceled.

From Kotlin:

onFinishPurchase()

From Java:

onFinishPurchase.invoke()