onProductSelected

abstract fun onProductSelected(product: AdaptyPaywallProduct, context: Context)

This callback is invoked when a product was selected for purchase (by user or by system).

Parameters

product

An AdaptyPaywallProduct of the purchase.

context

A UI Context within which the event occurred.