Google Play Billing returns OK but purchase dialog says item not found for a previously purchased product


I am troubleshooting a previously working consumable purchase in a Flutter Android app using in_app_purchase_android.

The same product, idol_points_1000, was successfully purchased three times. Current purchase attempts display a Google Play error dialog saying that the requested item could not be found.

Current behavior:

- Product ID: idol_points_1000

- Product type: inapp

- Product lookup returns the requested product with responseCode=0.

- launchBillingFlow returns responseCode=0.

- Google Play then displays the item-not-found error.

- No purchase_callback entry appears in the logs I collected.

My additional diagnostic logs show:

```text

productId=idol_points_1000

productType=inapp

cachedProduct=true

offerPresent=true

queryAgeMs=110675

oneTimeDisplayedOffer=true

tokenFromLatestCache=true

launch_result responseCode=0

```

The native purchase code uses cached ProductDetails and the offer token from the displayed one-time purchase offer.

Test device: Samsung Galaxy S24 (SM-S921N).

Installed app: version 0.2.1, versionCode 34.

I understand that launchBillingFlow returning OK only confirms that the launch request was accepted, not that the purchase succeeded.

How can I diagnose the failure that occurs inside the Google Play purchase UI after this successful launch response? Which values should I compare with the previously successful purchases, and how can I capture the final Billing error when my purchase callback log is missing?

-1
Nov 13 at 4:50 AM
User Avataryeonge kim
#android#flutter#in-app-billing

No answer found for this question yet.