In app billing item not found error? - android

I have been trying to implement in app billing of google play to my app. I am trying to implementing the sample application and test it. I have followed all the procedures which is in http://developer.android.com/guide/google/play/billing/billing_integrate.html but still i am not able to purchase any product or the subscription from the market.And my response look
like below
09-17 19:38:31.902: E/Volley(4314): [444] BasicNetwork.performRequest: Unexpected response code 500 for https://android.clients.google.com/fdfe/details?doc=subs:com.product.android.dungeons:subscription_monthly
Can any one please help me in this it breaking my head fro past one week.

The in-app billing system is very fragile, which is why a lot of people will recommend you use the AndroidBillingLibrary. Beyond that, here are a few things you should check:
Did you create your item in the dev console?
Is the id for your item the same in the dev console and in your app?
Is your item published?
Have you waited at least a few hours since you published your item?
Are you using a different Google account than your dev account to make the purchase?
Are you testing on a real device, rather than the emulator?
Are you using a signed APK?
If any of these questions is answered with a "no", you probably need to fix that.

Related

Refund test order on Google Play

How to refund in app purchase payed with test card?
I use "consume"-button in my debug version, but I wouldn't use it in release version (I don't want to show this button to end-users).
I see charded Test order in Google Play Console > Order management, but Button "Refund" is disabled: "The selected orders can’t be refunded either due to their age, status or your lack of requisite permissions".
Is there non-programming solutions?
EDIT: my refund button is no longer greyed out. Give it a try!
There is no way to do this without extra work. Came across this reddit post - it looks like it used to be possible a couple of months ago.
Here's Google's quote from the link:
Thanks for contacting Google Play Developer Support!
Unfortunately we don't currently support a way to cancel/consume test purchases through the console, you can only do so programatically.

in-app purchase error [DF-CPA2-07x8]

I have a problem on developing subscription plan.
Doesn't find the answer from
How to solve DF-CPA2-07 PlayMarket error?
It could work on first purchase when no plan is subscribed but fail on upgrading one plan to another. Got the error [DF-CPA2-07x8] from Google server. Clear data and cache for Google Store App doesn't work. Need some advice, thanks
This means the process took too long when doing the upgrade and timed out. It is a problem at the Google Play end. If it is happening frequently and repeatably for you then you should contact the Google Play Console support team and ask them to report it to the Google developers. They will collect some more information from you, and be able to look at exactly the request that is causing the problem. They will be interested in the exact error code, the app, and the account that was making the purchase, as well as the logs from your device.
You can contact support under the help menu in the Google Play console.

Android in-app products not appearing in Play Store or app

I have created an app with in-app products. I've added the licensing key and billing permission in my app and created in-app products in the developer console. The products are active and I've built an alpha build which I've published and I can now see it and download it in the Google Play Store with one of the test accounts.
Only problem is I can't get the in-app products! They're not showing up in the Play Store (which I assume they should). I get successful connection results in the app, but I don't get any products there either.
Where can I have gone wrong?
I know this is very unspecific, but I've looked through so many guides that I just don't know where to search anymore, so any help would be very appreciated.
Turns out waiting a bit longer did the trick! A bit confusing that the products and the build got published at different times.
The build got published after about 2 hours but the products didn't show up until the next day.
Try publishing your app in alpha or beta. They have changed the way of doing tests and now this is required.

In - app billing issue

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.

In-app billing - item unavailable for purchase

There are other queries on this, but none seem to provide the answer.
I am trying to implement in-app billing. Code in the real app is based on the dungeons code. I have to managed to get it all working fine on the test ids, but cannot get it to work with a real purchase id. I have:
Signed the app by exporting from eclipse.
Installed this version to the phone.
Uploaded same version to google play, saved it, activated it, but left it unpublished.
Created a managed in-app billing item.
Published that, although I notice that it does say 'item will only take on published state when app is published', no way round that as far as I can see.
Checked carefully that product ids match.
Added a gmail test account, made sure this is the primary account on the phone.
Waited several hours to make sure it gets propagated across all servers.
And all I get is 'item is unavailable for purchase'. It finds the item OK because in the background on the screen under the dialog is all the right info about it.
What is especially annoying is that the exact same billing code when built into a pure test app, does work, and I can purchase a real managed item. So I am sure the logic in the code is working. It just does not work in the real app with the real managed item.
I feel therefore that this must be some sort of fault with what I/Google have done at the developer console end, not in the app code.
Any ideas? I'm at my wits end with the whole in app billing system.
It was just time in the end.Took over two days to sort itself out.

Categories

Resources