jesper
jesper

Reputation: 395

Android / Google Play in-app purchase "Item unavailable in your country"

I'm trying to test the in-app purchase of a consumable item on Android, but I'm unable to do so, as the item appears as being unavailable in my country:

enter image description here

This only happens when I'm testing on a device connected to Android Studio (which I need to be able to do) - if I instead download the app onto the device, the consumable item appears normally, i.e. as being available. Some details:

Upvotes: 8

Views: 9670

Answers (3)

jesper
jesper

Reputation: 395

The solution in my case was to select the app in the Google Play Console, then go to Release > Production > Countries/regions, and add the countries/regions there. Having the countries/regions selected in the closed/internal track only is not sufficient. It seems this is necessary regardless of whether one actually has a production release or not - again, in my case, I did not. It took maybe 10-20 mins after I made the update until I stopped seeing the issue.

Upvotes: 7

Kartik
Kartik

Reputation: 788

If you have uploaded the build from the closed track, please ensure that you have accepted the test invitation from the invited email or it will show this error.

Step 1: Go to Release -> Testing -> Closed Testing

enter image description here

Step 2: Click on Manage Track

Step 3: Click on Testers tab

enter image description here

Step 4: Scroll to the bottom and you will see 2 options. Copy the link for web and open the link in your phone or browser with the test email you want to test.

enter image description here

Step 5: When you open the link you will have an option to Become A Tester. Click on that and then you are good to go.

enter image description here

Upvotes: 8

Jason
Jason

Reputation: 1698

TL;DR: Upload to the Internal Test track and make sure it has the highest version code

I was having this issue for a few days, and also tried numerous things, but to no avail.. I uploaded my app bundle to a Closed Testing track in the Play Store, which did not solve the problem. After countless other methods, I eventually tried to upload a bundle to the Internal Testing track, which immediately solved the issue and allowed me to use test cards again.

Upvotes: 1

Related Questions