purchaseProduct

abstract fun purchaseProduct(productID: String): ERROR CLASS: Symbol not found for Promise<kotlin/Boolean>(source)
abstract fun purchaseProduct(productID: String, opts: Double = definedExternally): ERROR CLASS: Symbol not found for Promise<kotlin/Boolean>(source)
abstract fun purchaseProduct(productID: String, opts: PurchaseProductOpts = definedExternally): ERROR CLASS: Symbol not found for Promise<kotlin/Boolean>(source)

Returns true if the product is valid and added to the payment queue.

You should listen for the transactions-updated event as soon as possible and certainly before you call purchaseProduct.