Google play test purchase - android

I recently released a mobile app and everything was working great...at first. The app is free with an option to subscribe yearly. Unfortunately, when the user try's to subscribe, the pay dialog order says it's a test order and expires in 30 minutes. Cant figure out why this is happening and I'm losing money and business. Any help would be greatly appreciated.
This is in full production mode.

It sounds like you have left some testing code in your app by mistake. Maybe the subscription is using a test id? Without some more of your purchase code in your question it is going to be hard to help.
The help pages on testing Google Play billing payments are here.
It sounds like you have added the users to your testers list.

After some head scratching I realized that the test orders were every thirty minutes and it was happening on only my device. So others learn from my mistake, be sure to remove all of your testers before going live.

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.

Google Play Promo Code for beta app - "the code you entered is invalid"

I'm trying to beta test an Android app using Google Play's beta testers. But the way they have it set up, beta testers have to PAY for the app! I read in another post that you can issue promo codes for the app and give those to your beta testers.
However, I'm trying it now with my own phone and when I enter the promo code, I get the error "the code you entered is invalid". Anyone know why? I have the number right - I copied/pasted it from an email. Can you not use promo codes for beta apps after all? It seems like you should be able to, if you can actually pay money for them.
Thanks for any help!
EDIT: Well, I got this working. It was either just a matter of waiting several hours, or it may be because I went in and retroactively changed the start time of my promotion to a time much earlier than the current time. It won't let you do that when you make the promotion, but you can go back and edit it. Originally I set the promotion to start at the current time when I made the promotion.

Android IAP v3 - Can buy managed item several times

I am implementing an IAP scheme for android, and I have come acrossed something really strange. I have started from the TriviaDrive sample that Google offers, I have changed the key to mine, I have signed it with the developer key, uploaded it to Developer Console, created the IAP items (managed) and activated them. The app is in draft mode.
The situation is that I can buy one item with a test account, it looks to be consumed and I received an email from Google saying that I have made a purchase. So far so good. But unfortunately, if I try again to buy the item, the same process happens again, email from Google included.
Does anybody have a clue of why this could be happening? I've check dozens of time that the products are managed, that my key is correct and they are right...I'm quite lost now.
Thank you very much in advance!
I finally found the problem. I had a line in the code in which I was consuming the item, thus making it elegible to be purchased again. It turns out that a managed product can be consumable after all.

In app billing item not found error?

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.

Categories

Resources