onError

abstract fun onError(error: PurchasesError)

Will be called after the purchase has completed with error

Parameters

error

A PurchasesError containing the reason for the failure when fetching the StoreProduct