Skip to content

Android: Google Play in-app purchase offer not working with Paywall #3440

Description

@sdsantos

Describe the bug

  • On Google Play, I have a non-consumable in-app purchase (premium) with a "Discounted offer" named half-price
  • I have a Paywall with a single package, with a Promotional Offer for Play Store with half-price
  • When showing the paywall, both in debug and release, it fails to apply the discounted offer, and falls back to the default price without it.

These are the relevant logs I can find:

I  ℹ️ Missing productDetails: UnfetchedProduct{productId='premium', productType='subs', statusCode=3}
I  ℹ️ Product not found: premium - Product Type: subs, Reason: PRODUCT_NOT_FOUND, Serialized doc ID: 
W  Configured offer 'half-price' for package '$rc_lifetime': product has no subscription options. Falling back to default option.
W  Could not process value for variable 'product.relative_discount' for package '$rc_lifetime'. Please check that the product for that package matches the requirements for that variable. Defaulting to empty string.
  1. Environment
    1. Platform: Android
    2. SDK version: 10.3.1
    3. OS version: Android 12
    4. Android Studio version: 2025.3.4
    5. How widespread is the issue: 100%
  2. Debug logs that reproduce the issue: see above
  3. Steps to reproduce, with a description of expected vs. actual behavior: see above
  4. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

Additional context

If I run Purchases.sharedInstance.awaitGetProducts(listOf("premium"), ProductType.INAPP) I can see the offer fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions