onStartPurchaseError

abstract fun onStartPurchaseError(code: Int)

It's invoked when an error occurs and it is not possible to start the purchase flow (generally it is a connection error in the billing client).

Parameters

code

Error code based on BillingResponseCode