I\'m trying to integrate Android Market in-app purchases into my app, but unfortunately coming across an annoying error every time I try to purchase a real inapp product.
If the Product status is in "Inactive", activate it. this Solved for me. Of-course Google takes a while to update
Also make sure the your test mail has been registered.
My experience on this error is:
Make sure to upload the signed APK to developer console.
Make sure to install the signed APK on your device not launch the app in the debugger.
Make sure to create a test account in your developer console.
Setup you testing account
Make sure to create in app billing in your developer console and finally activate the item from the console!!! (this is the one that got me after fully following google's tutorial)
Make sure to set VersionCode and VersionName in the manifest to be the same as the version in the developer console (Alpha, Beta or Production. Drafts does not work anymore). @alexgophermix answer worked for me.
If you're looking for testing payments without actual money withdrawal, you need additionally add your testing account to another special list of accounts "Gmail accounts with testing access", you can find that on play account setting(not project!). On the page where you can see a list of your projects go to settings, and then on "Account details" page (scroll down, it's almost in the bottom of page) you will find the "Gmail accounts with testing access" list.
There is another possible cause for this error, which has almost driven me mad for a whole day until I found what was the problem: the apk version. If you are working with a local apk (correctly signed, correct key, correct product ids) with a version number higher than the one uploaded to the Play Store, you will also get this error.
Hope this helps someone
While purchasing an in-app subscription, I had all the things from below list at the right place.
Created signed apk and published to alpha channel
Added tester email ids to license testing
Added tester email ids to closed track alpha testing
Opted in to be a tester
Testing Id was different from developer account's id
Was on android device and not on emulator
Downloaded the app from play store
Still I was getting this error saying "Item you were looking for could not be found".
After wasting 2-3 days I found out that it was only working if some payment mode was setup in play store.
While most of the answers are related to old IAB purchase and I implemented new billing client API which is -
implementation 'com.android.billingclient:billing:1.0'
, it was not easy to find out the solution.
If this is the same case for some one, adding a payment mode might help you to overcome this error. You need to add one even for testing it, however, it will not be charged for email ids added as a license testers.
The top voted answer covers pretty much everything, but if you were as stupid as I was to rush through the App Release process in order to get on with testing IAPs, be sure to publish the app in the Play Store of the country you are testing in! Easy way to check this on device is to tap the 'download it on Google Play' link when opening the test opt-in URL. If you get an 'Item not found' error when attempting to open via the Google Play store then it's likely your app hasn't been published there. I ran into this issue because I was side-loading the signed app correctly via ADB and although IAPs will show up in the build, you will get this error when you try to purchase them.
Maybe I've been doing this wrong, but you will also get this error if the version you're testing on isn't on the Play Store as either Alpha, Beta or Production.
I often update my VersionCode and VersionName while still testing a new version (BEFORE uploading to Play Store) and then end up with this error when I go to test IAB specific features.