onPurchaseFailure

open override fun onPurchaseFailure(error: AdaptyError, product: AdaptyPaywallProduct, view: AdaptyPaywallView)

This callback is invoked when the purchase process fails.

Parameters

error

An AdaptyError object representing the error.

product

An AdaptyPaywallProduct of the purchase.

view

An AdaptyPaywallView within which the event occurred.