Question

I need help with my Android in-app-purchase. I set up the library IInAppBillingService.aidl. Then I did everything I saw in some good looking tutorials and before I did this I read the Google documentation several times. Im from Germany, so my English is not quiet perfect - but I think I get the important things.

The manifest is setup and everything looks fine. This morning I used Googles "test-purchase-item" and the code seems to be right. I could "buy" this test product - no error.

Now I tried to purchase my own product (not only from my own device, at my girlfriends Google-Account I get the same failure => "The item you were attempting to purchase could not be found."

Hmmm... I'm not able to figure out whats wrong. I already asked many people in a German programmers community, but nobody could help me. :-/

Edit: I found this at Stack-Overflow, but I'm quite sure my error isn't produced by these source of errors.

Edit2: When I use Googles test-purchase-item, logcat tells me that I couldn't buy this stuff twice. Am I right, when I suppose that my code (library, etc) is correct, but something went wrong with my product?

I appreciate every posting which brings some light in the dark hole of "in-app-billings" :D Best wishes Martin

Was it helpful?

Solution

I have the same error. While I have not found the cause of my error, I will provide a concise list of solutions to try that have resolved this error for others.

The app should be signed and uploaded to the developer console. If it is not uploaded to "Production", several more of the following could apply

The in-app item has to have the status "Active".

Enter an account other than the developer account in "testing access" portion of the Developer Console -> Settings.

Use a device with the primary account in the "testing access" that is not the developer account.

Double check the spelling of your SKU/id.

The uploaded apk and the apk used for testing have to be the same version and identically signed. This is generally not true if you are running the app through Eclipse. The simplest one shot solution is to side install the exact same apk file you uploaded onto the test device.

Double check the license key.

EDIT: "Publish" the app. This includes screenshots, description, etc. It can still be in Alpha/Beta testing.

Wait 3 hours for app, SKU and testing accounts to be propagated.

The following is a link to my question that includes many links related to this question. “The item you were attempting to purchase could not be found” Android in-app billing

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top