Skip to content
This repository was archived by the owner on Apr 26, 2026. It is now read-only.
This repository was archived by the owner on Apr 26, 2026. It is now read-only.

Unable to purchase one-time products with offers on Android #3130

@singhayush1403

Description

@singhayush1403
Original Content

Hi, I am trying to test one time purchase offers for Android. On getting the products, I do get the offer details, but the requestPurchase for 'in-app' purchases does not support anything for the offerToken. How do I buy one time products with offers? My react-native-iap version is latest


Description
I'm trying to test one-time purchase offers for Android. While I can retrieve the product details and offer information, the requestPurchase() method for in-app purchases doesn't appear to support the offerToken parameter needed to purchase one-time products with offers.

Current Behavior

  • Products are retrieved successfully with offer details
  • The requestPurchase() method does not accept an offerToken parameter
  • Unable to complete one-time purchases with offers on Android

Expected Behavior

  • The requestPurchase() method should support passing an offerToken parameter to enable purchasing one-time products with offers

Environment

  • Platform: Android
  • react-native-iap version: latest

Additional Context
Please provide details on:

  • How to pass the offerToken to requestPurchase() for one-time product purchases
  • Whether this feature is currently supported or if it's a limitation in the library

🤖 Formatted by gitdog.dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions