In-app billing issue: “This version of the application is not configured for Billing - App Stores

I am using in-app billing in my android application. After signing, I uploaded a draft APK to the market (no debuggable in manifest), also included the com.android.vending.BILLING permission and all the files.I first tried the reserved android.test.purchased product ID for testing. It worked fine.
Now I add a 'In-app Product' with a new price for managed product to my app in the Google Play Develoiper Console and set the product to active. The APK is still in draft. I created a test user and reset my device to make that test user the primary account on my test device. Also mentioned the product id in String SKU in my main activity.(previously it was android.test.purchase) Now, while trying to install the app, I am seeing this message:
"Error : This version of the application is not configured for Billing through Google Play. Check the help center for more information."
I have waited for more than 2 hours and tried again. Still same. I have also checked the versioncode in the main application and in the phone's installed application is same. I am using In-app Managed Product. Also, I would like to add a product id with yearly subscription if managed product works fine. Please suggest.

Are you using a signed apk? Because a debug apk won't work with InAppBilling.

You need to have exact the same version of application (both signed, both with the same version number). After this, everything should work perfectly.
Sent from my Nexus 4 using xda app-developers app

Related

[HOW TO] Stop the Amazon App Store from listing uninstalled apps under My Apps

Have you been sucked in by Amazon's free app of the day promotion, downloaded an app, played with it for a couple hours and then decided to uninstall it?
Have you noticed how that uninstalled app will forever appear under My Apps in the App Store?
I wanted Amazon to stop passively reminding me about my fleeting affair with a past free app every time I go to their app store to try out the next free app of the day. The app store doesn't offer any way of removing the uninstalled and I like my lists to be cleaned up.
The solution I found is not perfect, but it works for me. I tried a variety of ways and this is the only thing I could find that avoided having the uninstalled apps re-appear after the app store syncs itself with my account. It requires root, Root Explorer and SQLite Editor. There are probably other ways to do this, but this worked for me.
In Root Explorer, go to the data/data/com.amazon.venezia/databases folder and open the file called "locker". With SQLite Editor installed, Root Explorer will automatically open the file with write permissions. There will be a list of 8 tables:
Applications - this is the table you want to edit
Blacklist - seems to be a table containing apps that are removed from Amazon
BlacklistCursor - somehow related to Blacklist
ContentTokens - the tokens for the apps you've downloaded. Syncs with your Amazon account every time you open the App Store. Deleting records here does nothing, as far as I could tell.
Downloads - lists any downloaded but not yet installed apps. When you download an app from the Amazon App Store, it downloads to a folder on your SD Card located at sdcard/Android/data/com.amazon.venezia/cache. Amazon names the apk oddly. Deleting records here does nothing, as far as I could tell.
Wishlist - I assume this syncs with your Amazon wishlist for apps. I don't use it, so I don't know for sure.
android_metadata - One record that identifies the locale as en_US.
sqlite_sequence - identifies the next sequence number that can be used (right? I'm not that familiar with it)
Select Applications
The first field is the ASIN identifier that Amazon uses. You can search Amazon for this and find the app that way, just in case you wanted to know.
Now, it would be great if deleting the record you don't want worked, but Amazon will just resync and add the record again. Boo.
The more interesting fields are off to the right, so scroll down that way.
Right after the SoldBy field are true/false flags. I'm listing them here, because I'm not entirely sure what they all do and maybe someone can fill in the blanks. If you edit most of these fields, Amazon will just reset them when it syncs, too. We want IsHiddenFromActionableItems.
IsPurchased - 1 if purchased
IsNew - 1 if there is a new version (to download or already downloaded but not installed, it seems)
IsUpdateAvailable - 1 if there is an update available (installed, with update available)
IsFlagged - not sure
IsNewNotified - 1 if notified of the new version.
IsUpdateAvailableNotified - 1 if notified of an update available. Interestingly, for the apps I uninstall the IsNew flag is true and IsUpdateAvailable is false, but the IsNewNotified is false and IsUpdateAvailableNotified is true. Seems backwards.
IsFlaggedNotified - notified of flagging?
IsHiddenFromActionableItems - this is the one you want.
IsDownloaded - 1 if downloaded and the file is still in its download location.
IsInstalled - 1 if downloaded and installed.
Full step by step:
***You need root***
1. In Root Explorer, go to the data/data/com.amazon.venezia/databases folder and open the file called "locker".
2. Select Applications
3. Highlight the record you want to edit by tapping it
4. Long press on the value in IsHiddenFromActionableItems.
5. Select Edit Field
6. Change the value from 0 to 1 (or the opposite if you want it back in the list)
7. Click Save
8. Repeat 4 - 7 for any other records you want.
9. Hit back to return to the table list and back again to go back to the folder.
That's it. When you run the Amazon App Store again, the apps you've changed the IsHiddenFromActionableItems value to 1 for will no longer appear under New (and presumably Update Available). Unfortunately, the apps will still show up under the All menu, unless you filter by Installed apps only.
Sorry for the long post, but I thought maybe someone else with more background than me would be able to figure out some other workaround.
I'm not responsible if this somehow screws up your phone.
THANK YOU.
God I thought I'd be waiting forever for them to come up with a better way to manage your purchased apps.
I'd be willing to bet that we'll see a better way to manage apps in future releases of their app store, but I'm not willing to wait for that.
You. are a god! Thank you, thank you, thank you!
I was so happy when I saw this post. I tried the recommended resolution. However, when I hit the refresh button in the Amazon App Store, the "hidden" application came back.
Any ideas? I would love to have a solution.
Thanks,
Evan
Two new ideas that may help with this issue:
1) If you are *totally sure* you never want to see the app again..
Just delete the app.
Amazon's official instructions are a ways down this page:
Amazon Appstore for Android says:
(AMAZON OFFICIAL)
Amazon Appstore for Android customers can now permanently delete apps from their account. To use this feature, visit the Your Apps and Devices (http://www.amazon.com/gp/mas/your-account/myapps) section of the Amazon Appstore for Android and click "Actions."
To learn more about this feature, visit:
Appstore for Android FAQs - http://www.amazon.com/appstore/faq
Appstore for Android "Manage Apps" overview - http://www.amazon.com/help/managingapps
Click to expand...
Click to collapse
Note this is a somewhat drastic step - if you change your mind you will have to pay for the app all over again. Works great for free apps of course.
2) Amazon may have given us a way to run off *all* notifications with the latest Amazon App Store apk. See http://www.goodandevo.net/2012/03/turn-off-amazon-appstore-notifications-on-your-htc-evo.html
Does anyone know if there is a similar process that can now be used? It seems like the recent update to the appstore app broke this method.
Sent from my SGH-T999 using Tapatalk 2

Paid Apps Will No Longer Download From Market

Hi
Up until yesterday, apps, whether paid or free would download fine on my device. Nothing has changed my end, but today, paid apps will no longer download (free apps download fine). There are two issues, the authorising payment page takes eons (used to be instant), and the phone sits on the 'starting download' or 'downloading...' pages for ever without ever actually downloading the app that I have paid for. Issue is present whether I initiate the download from the phone or from a PC.
Obviously, this makes the phone next to useless. I have no time to wipe/re-install the phone - especially since this may not even fix the issue!
I can find no 'report an issue' link at google's market to get support on this issue. The apps purchased are past the refund window.
I have tried all the various fixes I found on google (start google talk, kill cache/app settings for market and downloader), try another internet connection, restart phone blah blah, nothing has worked.
Anyone got any suggestions?
Nigel
Paid apps that had previously been installed and then removed will re-install fine... I can only assume that its the authorisation thats failing (nothing wrong with any of the cards on my google wallet account).
Nigel
Go to setting - application - manage - All - market - clear cache n Data
do same for talk (google talk)
first login to talk then market
In market application - check setting - accout - Fix default if you have multiple acc
Hi
As mentioned in my original post. I already tried that. I just tried it again with the same result.
After having done the above, I tried to buy the app from my PC, Got the following message 'Your order is still being processed. Your item will become available as soon as your order is complete. If you'd like, you can check your order status at anytime.' which is not the norm. Clicking the link within the message takes me to the transaction in google wallet which is listed as 'complete' unfortunately, the download does not auto-start (like it used to) on the phone, and when I force it to manually start, It goes to the 'starting download...' message. The app never does download, market app just displays this message forever more until I go and 'clear data' for the market app.
I give up! Looks like I am stuck with what I have on the phone + whatever I can get for free.
Have emailed google, will update thread should they bother to respond.
Market version is 3.4.4 | Download Manager is 2.3.5
Have you vosited web version of market?
Market.android.com login with google acc.
You will see your purchased appl there, if u can see there, click on install from there, it will start installing to ur device remotely
Try it
Hi
Yep, tried that - does not work. I can initiate the installation of free apps from the market on a pc, but not paid apps. The paid app I am trying to install is listed as having been successfully purchased. Looks like a bug/glitch, but one I am going to have to wait for google to fix.
Do you have the Amazon app market installed?
Sent from my GT-N7000 using xda premium
This issue seems to be with KL3 onwards and region or could be csc dependent, the only fix for this is to use the older market version the 2.6.x
try going into recovery mode and choose fix permission
Hi
Well, I got an auto response from google 'we are looking into it', but no emails since. Tried again this morning, and everything just started working again. Whether this was an issue with the market, my market account, my google wallet account etc is unknown.
I'd like to know the reason so I can fix it if it happens again, but at least its now working again.
@ericshmerick: Nope, no amazon app market. I don't believe this works in the UK
Nigel
The exact same thing is happening to me were you able to eventually get the apps you purchased its been about two days and the problem persists I have filed a support case with Google happening on two phones and a tablet ans the web market through a PC isn't working either. It seems to get stuck at authorizing the payment .
Sent from my Galaxy Nexus using Tapatalk
This was a big problem two weeks ago. I think the CheckROM guys figured out how to fix it. Their forum has a nice FAQ at the start. Have a look there. If that doesn't help then wade through the Rocket forum.
Sent from my GT-N7000 using xda premium

Full Google Play Access outside the US on Nexus 7 (CC needed)

As everyone knows Google Play outside the US is very restricted, I've been looking for ways to bypass the security and use the full Google Play in my Nexus 7. I've only found several links that let me use Google Music but after trying lots of ways I finally discovered a way to do it on the Nexus 7 without any problem (A CC is needed but it wont be charged).
Steps:
1. First of all you need to set up a Credit Card in Google Wallet, google.com/wallet/ as it's needed for authentication.
You can use any CC just use the real billing information.
2. After this you shall see your card info at the Payment methods section, click edit and change the country to US and the address to any real US address (Just Google any real address with a zip code). NOTE: Google Wallet doesn't check your billing info so there is no problem with this.
3. Now you have to set up any Google Play service, I started with Google Music as it is the easiest. Go to music.google.com and the page should load normally, just accept everything and it will let you download music manager. Now you have just set up Google Music, try it by adding a song to your folder and let it sync with your Nexus 7.
4. Now after doing this Google validates that you have a real US account so the next thing to do is get all the other Google Play services. In your Nexus 7 tablet add the My Library widget to any screen, then it will ask you to select any service (Music, Books, Magazines and Movies & TV), try adding Books, then touch the widget and it will take you to the app, click enable and there you go, you just activated Play Books Service.
5. Activate all Google Play services and enjoy!!!
NOTE: You can actually shop with google wallet like that, I've tried buying a $1.99 TV episode just to check, it worked and the episode was added to My Library without checking my CC information. After this I went to the Google Wallet site again and in Payment Methods in my card I clicked edit and now you can swap easily between the 2 addresses, I just returned it to normal and every Google Play service keeps working.
Hope this works for you too!!!
Didnt work for me. I removed both by cards, changed my address to a US one, changed my phone number in the settings, changed my language and added one of my cards with the US credentials. Still "The Google Play music player is currently available in select territories." ... BTW does it really be a CREDIT card? As I have a VISA debit card (check card) ...
PS: I used a Canonical Massachusetts address and phone ... If you have a working one, please share!
Worked for me first go in Ireland.
Nice guide man.
Watching an episode of through the wormhole with Morgan Freeman now!
Sent from my Galaxy Nexus using xda premium
or you can buy and connect to a US based VPN server or proxy
erghezi said:
or you can buy and connect to a US based VPN server or proxy
Click to expand...
Click to collapse
That what he said.
erghezi said:
or you can buy and connect to a US based VPN server or proxy
Click to expand...
Click to collapse
+1 to that
Just so you know, this method in no way circumvents payments. You still get charged,
It only circumvents the addressing method allowing for usage in restricted countries.
However, be advised. The issuing banks fraud department may freeze your accounts due to address changing when they receive the transaction statements, and notice rapid address changes. This usually results in about 2 weeks to straighten out, in which case your card will be frozen.
Just sayin......
MD
What if I use US sim card? I have one from the time when even buying apps was not supported in my country ... anyone tried that? If no, I guess Ill check it out when Im back from the dentist ...
erghezi said:
or you can buy and connect to a US based VPN server or proxy
Click to expand...
Click to collapse
Which you have to pay for, whereas this method is free and quite simple.
Anyway I've tried to do it via a VPN before and it won't let you download music, books or movies, it checks the credit card details and then throws and error if it isn't US based, doing it as the OP has shown works perfectly.
Sent from my Galaxy Nexus using xda premium
How the hell do you enter valid US phone number?
I get either 'invalid area code' or 'number is too long'
I got my address here:
http://www.fakeusaaddress.com/
I already got my account working another way but can't buy music using this method. It rejects my payment at Google Wallet stage, maybe because the billing address doesn't match my Aussie credit card? I suspect for actual purchases they do match off the billing address.
Ok, tried again today but no change. I have a working credit card information in google wallet. I click the "change" option under the card (I dont know how its in english, I have my nexus in czech language), make a US address taken from www.fakeusaaddress.com, everything goes fine. Then I go to music.google.com and ... "The Google Play music player is currently available in select territories." ... dang ...
EDIT: Finally, I figured it out. I used the mentioned site fakeusaaddress.com to get a working US address. Then I changed my billing info (not my own info, only the info with the CC). Then I installed a Chrome plugin called Stealthy (https://chrome.google.com/webstore/detail/stealthy/ieaebnkibonmpbhdaanjkmedikadnoje/related) to fake my position (set United States). Then go to google play and you can buy.
To see the content in your device you need to have Google Music App (installed in device usually), Google Play Videos (installable via Google Play) and Google Play Magazines (installable manually http://www.mediafire.com/?iy923q1amq36q7x).
I tried buying a magazine and a song and worked fine. Although I would prefer using secondary credit card (in case google or my bank get pissed because of me faking billing info lol).
BTW I had to wipe app (Google Music) data to make it refresh online content.
ENJOY!
nodstuff said:
Which you have to pay for, whereas this method is free and quite simple.
Anyway I've tried to do it via a VPN before and it won't let you download music, books or movies, it checks the credit card details and then throws and error if it isn't US based, doing it as the OP has shown works perfectly.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Do you know if the IP location is a second verification check? Meaning if your account details (billing, cc etc) all check out, does it then look to make sure your IP is based in the US, or are you good to use your account to stream/buy music anywhere in the world?
There is a site mygiftcardsupply.com that is selling Google Play gift cards purchased in the US, which Google has setup to allow people to create accounts without credit cards; I am wondering if this would be sufficient enough to get a US account and stream/buy music while I am in Asia.
Thanks!
Not working for a Canadian here. Gets rejected due to address wrong on my CC. I did all of this through my works US internet connection and as soon as I log into any play store, either device or web, it shows me Canadian content. I log out and I see the US store. I used a relatives address in the US as well with same last name and all. No go. The only thing I care about is US only app restrictions and androiddrawer.com fills that void.
Sent from my Nexus 7 using XDA Premium HD app
It's no longer working I'm afraid, Google started to identify based on IP geolocation.
Same issue
ktkr said:
It's no longer working I'm afraid, Google started to identify based on IP geolocation.
Click to expand...
Click to collapse
No more available.

A:Update AA manually for "This item isn't available in your country".

EDIT: Updating the AA app manually did the trick.
AA was working for me yesterday.
Now it shows an error due to enforcing of the country whitelist that I guess does not include my Canada.
Not sure where yet or how to bypass. AA app is the same, and Google Play Services is a few weeks old.
Previously log said "Country is not whitelisted: " + ph.c() + " but gearhead.apk is installed, so we continue"
Maybe it activated by date ? Maybe it's an online switch ? AA won't start on devices that I've now turned GPS and WiFi off.
There are other whitelists and blacklists in the AA app that may be activated in future: mobile device, head unit/car.
Headunit (or my headunit app) does not currently seem to validate headunit certificate(s) but there is code for that & I wonder if that may be enabled also.
EDIT: Updating the AA app manually did the trick.
There is an AA startup phase where you are prompted to install or update the needed apps: Music, Maps, whatever...
I've gone through this several times; not sure why it doesn't always stick.
At this point I get a popup dialog saying "This item isn't available in your country."
Which is exactly what we get trying to download apps not enabled for our country.
I created a new account claiming to be in the US, but that didn't help; probably Google's IP detection knows I wasn't in the US.
Hmm, maybe if I manually update the needed apps as well as the AA app ?; I'm still using the original AA app.
So manually updating the AA app worked and you can now continue using AA?
(Sorry if I did not post this right. Its my first time on xda.)
fraessp said:
So manually updating the AA app worked and you can now continue using AA?
(Sorry if I did not post this right. Its my first time on xda.)
Click to expand...
Click to collapse
That is correct.
This will be an ongoing problem for those of us outside approved countries, and it could get worse.
Once it detects that there is an update, it refuses to run before the update is done, and outside the US the AA app can't normally be auto-updated by Play.
And most of us want the features we need to be logged into Google for, so disabling update detection is not entirely feasible.

Help Required on uploading 2 abb to one application in Play Console

Hi,
I have created a wear app bundle separately. I have also created a phone app bundle which has a one page text briefing the wear app.
I want to upload these two bundles to play console. My wear app is already in production.
When i uploaded the phone app bundle as a new release to the wear app (multiple apk support) i am getting the error as "You can't rollout this release because it doesn't allow any existing users to upgrade to the newly added app bundles."
Wear App: Version12, API 28+, SDK 30
Phone App: Version13, API 28+, SDK 30
Application Name of both are same.
Please help how this works? What is the procedure for doing this?
I am doing this to achieve the result of attached image.. Any help plz

Categories

Resources