As the title says, I'm getting the error "item unavailable in your country" when trying to test purchase an in-app product. What confuses me is that a couple of days ago it was working fine. You can see in one of the screenshots I was able to successfully purchase a product. Now today I am unable to. Does anyone have any history of this happening? if so what did you do to fix it?
I had the same problem yesterday. It corrected itself after I uploaded a new version. I hadn't upgraded since late April, so I put it down to the fact that the upgrade interval was too long.
I wonder if this problem is related to the new Google Play Billing Library 5. Play Billing Library 4 is still meant to be ok, but QuerySkuDetailsAsync is now deprecated and has been replaced by QueryProductDetailsAsync. See https://developer.android.com/google/play/billing/migrate-gpblv5 and https://developer.android.com/google/play/billing/compatibility.
All my subscriptions in the Play console are showing updated May 2022 and I've not made a change to any subscription for months.
I just tested again with my app and it all appears to be ok for now.
If you have uploaded the build in 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
Step 2: Click on Manage Track
Step 3: Click on Testers tab
Step 4: Scroll to the bottom and you will see 2 options. Copy the link for the web and open the link in your phone or browser with the test email you want to test.
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.
This problem occurred again today on a device that I haven't used for a while. I knew that the subscription had expired because when I queried the subscription it failed and the reported exception from Google's servers read "The subscription purchase is no longer available for query because it has been expired for too long." The subscription was purchased on May 10th. From previous testing expired subscriptions for beta testers are still returned for something close to 40 days. At that point, the beta tester then has to purchase a new subscription.
I, therefore, attempted to make a new purchase and got the "Item unavailable in your country" message. The way around that was to use the Google Play link supplied to a beta tester and then reinstall the app directly from Google Play. I was then able to successfully purchase a new subscription.
My conclusion is that Google Play has changed the procedure because I've never had to do that previously when using any of the devices I test with.
Currently also experiencing this bug in a particular game. But works fine in my other games
Related
I have an alpha working version of my app.
I have set the alpha open.
I successfully tested the in app billing with the test account (meaning the money is not charged to the test user).
I successfully tested the purchase with static response.
When i try to test the real payment it always say "the item is not available for purchase"
The version and the signature are ok.
Can you suggest what am i missing?
BILLING_RESPONSE_RESULT_ITEM_UNAVAILABLE 4 Requested product is not available for purchase
this is the returned code but i think has nothing to do with the real problem.
where can i find more information about the error?
I don't have the reputation to comment yet, but have you tried making a purchase from a version of the app that was downloaded off of the play store instead of a version that was run from adb or android studio?
Here's someone who had a similar problem
GooglePlay: The item you requested is not available for purchase
I encountered a problem like this as well once - i.e. downloaded the app from the Play Store, with a test-account (aka no money purchase) it worked, but a real purchase with a non-test account failed.
For me the reason was that the merchant account linked to the Play Store was not set-up correctly. You might want to check that if your situation is similar.
When I tried to buy all of items, then it returns the message like bellow
"The item you requested is not available for purchase."
And logcat logs.
09-04 10:06:25.374: D/Finsky(7185): 1 PurchaseFragment.handleError:
Error: PurchaseError{type=3 subtype=4} 09-04 10:06:25.374:
D/Finsky(7185): 1 PurchaseFragment.fail: Purchase failed:
PurchaseError{type=3 subtype=4}
I guess, purchase error code type 3 is billing api problem
BILLING_RESPONSE_RESULT_BILLING_UNAVAILABLE 3 Billing API version is
not supported for the type requested
But... It is a live app in GooglePlayStore and I could buy an item yesterday.
And also it seems that most user can buy items. So I think the hint is subtype=4. But I can't find information about subtypes.
FYI, The application region locked in my country. Is it the problem? But I can't find Google's announcement about it.
I have the same error , and fix the problem in this way :
In the APK section . Now tester email must be listed as testers in either Alpha or Beta Testing .
After add a tester list . the tester need to open the 'Join Test' url , after join the test , I can test the purchase .
It looks like Google changed their IAP policies again and now users must be listed as testers in either Alpha or Beta Testing. From there you must opt-in (log in to that Google account and go to the URL for your app in the Google Developer Console). I ran into the same issue and that was their recommendation.
Since our update things have changed a bit. This account will need to make sure and opt-in to the new testing-link.
Just confirmed that this fixed the issue. You must configure Alpha/Beta testers for each app you have in the developer console in order for those users to be able to make test purchases. Hope that helps!
I have encountered this error response when I published a new alpha/beta version of an app to the developer console, but it hasn't finished processing yet.
Try again in an hour or so - make sure you have opted in to be an alpha/beta tester and that you can see the appropriate alpha/beta version of the app in the Play Store and it should work.
In addition to user1454444, make sure you don't have the publisher account on the device either - It was always the case that the publisher account couldn't buy IAPs which meant you couldn't have the main account on the device to be the publisher account, if you were testing.
I have recently (like literally over the last weekend) discovered that even having the publisher account on at all - i.e. your main account is not the publisher, but the publisher account is on the device - this will cause a fail in the buying process.
I suffered with this issue but it solved very simply.
The real problem was "You cannot try billing test with developer account", even that was invited account from project owner. Only, none associated account can be tested for purchasement.
Here is another checklist I had tried.
Is Registered in Gameservice -> Test -> tester
Is Registered in Alpha or beta tester at
AppVersion->Alpha/Beta Management->Tester
Are there No developer account in chrome, g-mail, playstore, googlePlay? (Every developer account must be cleaned)
Is App published? (at lest as close alpha/beta)
Did you install app with invitation url?
Check base64 key, packagename.
Is item activated?
Recently learned of Google's latest testing services. That is Closed Beta testing and Open Beta testing from this link: https://support.google.com/googleplay/android-developer/answer/3131213
and http://readwrite.com/2015/07/30/google-beta-test-tools.
Inorder to try the open beta testing feature of the same i have done the following:
Uploaded new APK for beta testing
Set the feed back email ID
Set the max number of testers.
get the Opt-in URL (after doing this i do not find any save button or anything as specified in the documentation.
Circulate this Opt-in URL among the testers.
Below are the issue i'm facing:
When i click on the opt-in URL via my Android device, First it asks me to have logged in. But since i'm trying out the Open beta testing which is not confined to a specific set of Emails (gmails) and any Google+ group or any Google Community, why is it taking me to the google login page?
After i login through my personal mail Id, I get the below error message:
Has any one faced any such issue before? I'm i doing something wrong here?
Any infor regarding same shall be really helpful to any one who wants to try the new beta testing service.
Thanks in advance.
You don't need to set the number of testers if you don't want to. And the save button is labeled Submit and hidden in the top right corner.
Regarding your questions:
The open beta still works in conjunction with the play market. For example, it will push new beta updates if you have the app installed on your device.
I had a chat with the Google Developer Console support. Here is the answer, which worked for me. I waited ~2 hours before trying again:
The reason you're getting this rather vague message is because the Beta (Version 145) was just published 17 minutes ago.
It's still in the process of being published. Once it's fully published, that message should go away and you should be "eligible" to install the Beta.
Don't know but i have not included any permission or any feature of in-app billing, I have just put normal application on play store, but when i want to download it from play store, it saying me that "The Item that you were attempting to purchase could not be found,
OK here is what happened. I'll explain it so if someone has this exact problem might not be as worried as I was.
I published a fresh new App at 9.00 morning
The app was free and it didn't have any In-app billing
An hour later or so, the app appeared as available but it couldn't be downloaded. The error was allways as described above: "The item that you were attempting to purchase could not be found."
From the Google Play website console, the app also seemed available, but the message was: "This app is incompatible with all your devices".
There had to be some bad sinchronization among the Google Play servers, because after some hours, at about 17:00h afternoon, the problem was solved. And I didn't need to do anything. So, be patient!!
I have downloaded sample project of v3 In-app billing from developer and followed all the procedures like they have said. But its giving a message saying "The item you requested is not available for purchase."
As per advice given in other links I also published my sample app to play store, I downloaded the app from playstore, but still getting same error.
As said, you can't buy your own items, but you can use a test email address. One of the Play Store menu setting is to pick the email address to use.
Despite Google saying it takes 2-3 hours to propagate changes, it can take several days in the worst circumstances.