Google Play: “The item you requested is not available for purchase” (ITEM_UNAVAILABLE)
ITEM_UNAVAILABLE means Google Play won't sell this product to this user, from this build. Check three things first. The app must have a build on a Play Console track. The installed build's package name must match it exactly (no .debug suffix). The Play Store account on the device must be a license tester or an opted-in tester. Then check the product, and for subscriptions its base plan, is Active.
Symptom
- The purchase sheet opens with “The item you requested is not available for purchase”, or the purchase fails straight away.
BillingResult.responseCodeisBillingResponseCode.ITEM_UNAVAILABLE(4).- The product may still have loaded and shown a price: product details and purchases are checked separately.
- It often works for one developer and fails for another person, or works on a Play-installed build and fails on a local one.
Why it happens
Google's error reference says the product isn't available for purchase for this user. It must be active, its app published, and sold in the user's country. Google's test guide adds that Play Billing is blocked for apps that aren't uploaded to Play, unless the account is a license tester. Most likely first:
| Cause | How to tell |
|---|---|
Package name differs from the Play Console app (.debug suffix, flavour) |
applicationId in the installed build isn't the one in Play Console |
| Device's Play account isn't a license tester or opted-in tester | Fails on one device or account, works on another |
| App has no build on any track in Play Console | Test and release shows no uploaded build |
| Product or base plan is inactive | Monetize shows the product, or the subscription's base plan, as inactive or draft |
| Product isn't available in the account's country | The tester's Play country isn't in the product's availability |
| Recent change still spreading | You created or activated it in the last few hours |
| Subscription offer the user isn't eligible for | Only one offer fails, and the base plan alone works |
Confirm it
- Package name: check what's actually installed.
adb shell pm list packages | grep <your.package>
It must equal the package name shown at the top of the app in Play Console.
- Account: on the device, open the Play Store, tap your profile and note the account. In Play Console, check it's under Settings → License testing, or in the testers list of the track you installed from, with the opt-in link accepted.
- Build on a track: Test and release → Testing → Internal testing (or any track) must have at least one uploaded release.
- Product state: open Monetize with Play → Products. For one-time products, the product must be active. For subscriptions, open the subscription and check the base plan is active, not only the subscription.
- Logcat: filter for
queryProductDetailsAsyncorITEM_UNAVAILABLEaround the purchase tap to see which product ID was refused.
Fix
- Package name: install a build with the exact Play Console package name. Remove the
applicationIdSuffixfrom the variant you test purchases with, or upload that variant as its own app. - Tester: add the device's Play account under License testing, or add it to an internal testing track and accept the opt-in link on that account. If the device has several Google accounts, make the tester the one active in the Play Store.
- No build yet: upload a signed build to the internal testing track. It doesn't have to be reviewed or released to production.
- Inactive product: activate the product, or the subscription's base plan, and wait.
- Country: add the tester's country to the product's availability, or use a tester account from a country you sell in.
- Spreading: wait a few hours. Then, on the device, clear the Play Store app's cache and storage, reopen it with the tester account, and retry.
- Offer eligibility: if only an offer fails, check its eligibility rule (new customers only, for example) against the test account's history.
Stop it coming back
- Keep one build variant with the release package name for purchase testing, and say so in your README.
- Keep a short list of tester accounts in Play Console and use only those on test devices.
- After any product change, run one test purchase before you call the change done.
If you use BillDog
BillDog can't make an unavailable product sellable; this is all Play Console setup. On Android, BillDog returns ITEM_UNAVAILABLE as PurchaseResult.Failed with BillDogError.ProductNotFoundError and the message Product not available. It's the same error type as a product Play never returned, so read the message to tell them apart. Flutter shows both as ProductNotFoundError, and React Native reports them with category store and the productId.
Logcat shows a queryProductDetailsAsync … unfetched= line for every product query, even with BillDog logging off. Each product's Play ID is set in Dashboard → Products. This was checked against the source of the published Android SDK 1.1.1-beta.5 and its wrappers. It hasn't yet been reproduced on a device for this page.
Related
Sources
Did this fix it?
Frequently asked questions
Do I have to publish the app to test purchases?
Not to production. The app must exist in Play Console with a build uploaded to some track. A license tester can then test purchases on a sideloaded build, as long as its package name matches the app in Play Console.
I just activated the product. Why is it still unavailable?
Google says this error can happen during testing even when everything is set up correctly, because changes take time to spread. Wait a few hours, then clear the Play Store's cache on the test device and try again.
It works on my phone but not on a colleague's. Why?
The Google account matters, not the build. The account signed in to the Play Store on their phone must be a license tester, or an opted-in tester on the track, and the product must be available in that account's country.
Does a debug build with a .debug package suffix work?
No. Play matches purchases to the package name in Play Console, so com.example.app.debug is a different, unknown app. Test with the package name you uploaded.