onAwaitingSubscriptionUpdateParams
open override fun onAwaitingSubscriptionUpdateParams(product: AdaptyPaywallProduct, context: Context): AdaptySubscriptionUpdateParameters?
This callback is invoked when user initiates the purchase process, providing the ability to supply an AdaptySubscriptionUpdateParameters object. This is used when you need one subscription to be replaced with another.
Return
An AdaptySubscriptionUpdateParameters object, used when you need a subscription to be replaced with another one, otherwise null
, read more.
Parameters
product
An AdaptyPaywallProduct of the purchase.
context
A UI Context within which the event occurred.