onPurchaseError property

void Function(RovenueException error)? onPurchaseError
final

Observe a failed purchase or restore the SDK performed (never a cancelled sheet, never your own onPurchase / onRestore).

Implementation

final void Function(RovenueException error)? onPurchaseError;