Rovenue React Native SDK
    Preparing search index...

    Type Alias PurchaseResult

    type PurchaseResult = {
        entitlements: Entitlement[];
        isDeferred: boolean;
        pendingReason?: PurchasePendingReason | null;
        productId: string;
        storeTransactionId: string;
        virtualCurrencies: Record<string, number>;
    }
    Index
    entitlements: Entitlement[]
    isDeferred: boolean

    True when the purchase is not verified yet; pendingReason says why. virtualCurrencies is then empty: credits are granted only by the server, and arrive through VIRTUAL_CURRENCIES_CHANGED. entitlements is empty for storeApproval; for verification it lists what the app has now, including the bought product's access granted temporarily (isTemporary: true) until the server verifies the purchase. Mirrors Swift PurchaseResult.isDeferred and Kotlin PurchaseResult.isDeferred.

    pendingReason?: PurchasePendingReason | null

    Why the purchase is deferred; null (or absent) when isDeferred is false.

    • storeApproval: the store holds it for external approval (Ask to Buy, Play pending payment); nothing was charged yet.
    • verification: the store charged but the server could not be reached to verify it (offline, 5xx, 429). The SDK keeps retrying; treat it as "payment received", not as a failure. storeTransactionId is set.
    productId: string
    storeTransactionId: string
    virtualCurrencies: Record<string, number>