Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Item you requested is not available for purchase - android in app billing

As I am developing an application which uses in app billing, I am not able to test it using my own product ID. I have followed every step as documented on developer site. I have,

  1. Uploaded the signed apk with release certificated to developer console.
  2. I have published my apk to alpha channel.
  3. I have listed my product Ids to developer console.
  4. I have activated my product Ids and on developer console it is marked as Active.
  5. I have listed the test account in developer console.
  6. I have installed the same apk that I uploaded to developer console to my deveice.
  7. The device is logged in with the test account not the developer account.
  8. The Id that I use in my app is same as I had listed on console as per logcat message.

But, I am getting Item is not available for purchase.

Do not know what's wrong.

I know that this question has been asked on stack overflow before several times, and I have gone through each and every one of them, but none of the solutions seems to work for me so please do not close this issue as duplicate.

like image 942
Sunny Shah Avatar asked Sep 04 '15 05:09

Sunny Shah


2 Answers

Found the solution for me, I had to add the testers account to alpha also. Google changed its policy, you need to be an alpha tester and not just be added to the test account list. My steps :

  • Go to Alpha APK
  • Switch alpha testing type
  • Create a list
  • Add my tester email
  • Save
  • Submit update (top right of the page)
  • Wait for 15 minutes
  • Open opt-in url with test account and click on "Become a tester"
like image 199
Kerwan Avatar answered Oct 11 '22 13:10

Kerwan


Just add your e-mail address to Lisense Testing

0) Go to Google Play Console

1) Go to Settings (in left drawer)

enter image description here

2) Go to Developer Account (and Account Details)

3) Go to section License Testing (at the bottom)

4) Add Gmail accounts with testing access

5) Save changes

enter image description here

Do not need any alpha release or anything else.

like image 27
Sheikh Hasib Avatar answered Oct 11 '22 14:10

Sheikh Hasib