I integrate billing in the application in my application. But I have problems testing my application. Every time I try to purchase an application element. A wired message appears The item you tried to buy was not found . The following appeared on Logcat:
09-10 14:45:02.437: E/IabHelper(12617): Launching buy intent for premium. Request code: 10001 09-10 14:45:02.523: E/Finsky(11260): [8464] FileBasedKeyValueStore.delete: Attempt to delete 'paramspXaplU_vTGhfGqvnmPPddQ' failed! 09-10 14:45:04.000: E/Volley(11260): [8448] BasicNetwork.performRequest: Unexpected response code 500 for https:
After I click OK, logcat showed the following:
09-10 14:45:05.546: E/TrivialDrive(12617): onActivityResult(10001,0,Intent { (has extras) } 09-10 14:45:05.546: E/IabHelper(12617): Ending async operation: launchPurchaseFlow 09-10 14:45:05.546: E/IabHelper(12617): Purchase canceled - Response: 2:Unknown 09-10 14:45:05.546: E/TrivialDrive(12617): Purchase finished: IabResult: User canceled. (response: -1005:User cancelled), purchase: null 09-10 14:45:05.546: E/TrivialDrive(12617): **** TrivialDrive Error: Error purchasing: IabResult: User canceled. (response: -1005:User cancelled)
I have checked the following things many times:
- I am logged in with the same google account on my test device that I set up as a test account.
- All In-app applications I created are active.
- I uploaded apk to alpha channel, it is mentioned that draft mode is no longer supported .
- I checked the license key for my application from the developer console.
- Someone suggested restarting my device once. I did it too.
- I installed on my device the same apk that was downloaded on Google Play. Both sign with the same certificate.
- It is mentioned that you should expect at least 2-3 hours to get apk recognition. For me it was more than 15 hours.
- In addition, my test account is different from the seller account.
I changed the Google pattern and also created my own pattern. In both cases, I faced the same problem.
Update: I am testing IAB from my client account. I noticed that her wallet trading account is still not verified. I am not sure if this is the main cause of this problem.
android in-app-billing
Nitish
source share