in-app-billing

Google IAB return purchase error type=3 subtype=4

对着背影说爱祢 提交于 2020-01-10 10:22:09
问题 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

Handling in-app purchases / consumable products across sessions/devices?

人盡茶涼 提交于 2020-01-10 04:16:11
问题 My question is centered around handling in-app purchases for consumables with Google's In-App Billing API. (https://developer.android.com/google/play/billing/api.html#consumetypes) Their documentation describes consumables as: Consumable products In contrast, you can implement consumption for products that can be made available for purchase multiple times. Typically, these products provide certain temporary effects. For example, the user's in-game character might gain life points or gain

the item you requested is not available for purchase

一笑奈何 提交于 2020-01-09 00:19:32
问题 I'm trying to integrate Android Market in-app purchases into my app, but unfortunately coming across an annoying error every time I try to purchase a real inapp product. I've taken the sample application (Dungeons) and added it to my app. I've updated the Public Key and also updated the list of products to the following: /** An array of product list entries for the products that can be purchased. */ private static final CatalogEntry[] CATALOG = new CatalogEntry[] { new CatalogEntry("full",

How to change the Android in-app product local prices through Android publisher?

流过昼夜 提交于 2020-01-07 03:04:36
问题 The back end server of our system is supposed to update the prices of user-created in-app products for our Android app in Google Play store. The back end is written in C# and we use the "patch" service of Android Publisher to do that with the option "autoConvertMissingPrices" switched to "true". https://developers.google.com/android-publisher/api-ref/inappproducts/patch However, all it does is change the default price while the local prices stay unchanged. I guess we need something like the

In App Purchase Nothing happens Android

十年热恋 提交于 2020-01-06 14:45:26
问题 Following this guide on in app purchases. Not sure what I'm doing wrong but any help would be amazing! Quite tricky as its in a fragment not the usual activity. Only thing in logs is ViewRoot's Touch Event : ACTION_UP and then ACTION_DOWN. public class Fragment_1 extends Fragment { IabHelper mHelper; private Button clickButton; private Button buyButton; private static final String TAG = "com.appal.inappbilling"; static final String ITEM_SKU = "android.test.purchased"; public View onCreateView

re-install paid subscription on new Android device

喜夏-厌秋 提交于 2020-01-06 06:49:57
问题 I have an inapp subscription. I am trying to insure the re-installation of the app on the same or a new will recognize that the user has a valid subscription. The "already owned" response is supposed to have a value of "7", which works fine for consumable, managed products. For subscriptions, however, I do not get a "7" response. The messages are different, too. For a managed, consumable product the message is "Item already owned" with a "7" response. For subscriptions the message is "You

Android - Google Server Side InApp Purchases verification Backend Error 500

心已入冬 提交于 2020-01-05 09:03:06
问题 During the integration of G+ account I have turned off Google Play Android Developer API in Google Developer console by mistake. Google server started to return error: Access Not Configured. Please use Google Developers Console to activate the API for your project So I again turned Google Play Android Developer API on, but Google server still returns error: { "error": { "errors": [ { "domain": "global", "reason": "backendError", "message": "Backend Error" } ], "code": 500, "message": "Backend

Android - Google Server Side InApp Purchases verification Backend Error 500

∥☆過路亽.° 提交于 2020-01-05 09:01:42
问题 During the integration of G+ account I have turned off Google Play Android Developer API in Google Developer console by mistake. Google server started to return error: Access Not Configured. Please use Google Developers Console to activate the API for your project So I again turned Google Play Android Developer API on, but Google server still returns error: { "error": { "errors": [ { "domain": "global", "reason": "backendError", "message": "Backend Error" } ], "code": 500, "message": "Backend

Android: Publishing draft APKs and In-App Billing Testing - how?

丶灬走出姿态 提交于 2020-01-04 09:16:11
问题 Google's documentation states that you should upload a 'draft' APK and add your In-App Products to that - you will then to able to test with your developer and other linked 'test' accounts - that's what it says... It also says you need to use the 'new' Developer Console to add products for v3 of the billing API - but uploading an APK with the new console instantly publishes it!!! - WTG there Google!!!!! You cannot unpublish an APK/revert to an earlier one either - the 'live' versions is now

Android in-app billing is returning server response code 2. What does it mean?

你说的曾经没有我的故事 提交于 2020-01-03 13:59:47
问题 I'm using In-App Billing V3. When I try to make a purchase I'm getting a server response code of 2. I've searched but can find no documentation on what this response code means. If you look at the official In-app Billing Reference (IAB Version 3) documentation you'll notice a value of 2 is conspicuously missing from the table of server response codes. What does this value indicate, and why might I be getting it?? Update: I've just notice that the documents for In-app Billing V2 say that a