paywallViewDidFinishPurchase

Called when a purchase is successfully completed or canceled.

By default, if the result is not AdaptyPurchaseResult.UserCanceled, the paywall view will be dismissed.

Parameters

view

the AdaptyUIPaywallView where the purchase occurred.

product

the AdaptyPaywallProduct that was purchased.

purchaseResult

the AdaptyPurchaseResult describing the outcome.