in-app-billing

titanium InAppBilling queryInventory return error code -1003 (InAppBilling.IAB_RESULT_VERIFICATION_FAILED)

僤鯓⒐⒋嵵緔 提交于 2019-12-25 01:22:27
问题 I'm using ti.inappbilling module for in-app billing on Android. I use titanium sdk 5.1.2 But when I call it's always returning an error: var InAppBilling = require("ti.inappbilling"); InAppBilling.queryInventory({}); InAppBilling.addEventListener('queryinventorycomplete', function(e) { if (e.success) { purchase = e.inventory.getPurchase(productID); }else{ Ti.API.error('queryinventorycomplete: ' + e.responseCode + " - " + responseString(e.responseCode)); } }); queryinventorycomplete: -1003 -

In app billing v3 - BILLING_RESPONSE_RESULT_DEVELOPER_ERROR

三世轮回 提交于 2019-12-24 19:05:06
问题 I try to put in my app In app billing v3. I followed: http://developer.android.com/google/play/billing/billing_integrate.html I uploaded my app to develepors console 3 days and set in app product. i put my Base64-encoded RSA public key and my in app product id. When i start the purchase i get error message. When i check my RESPONSE_CODE its 5 and by google In-app Billing Reference (http://developer.android.com/google/play/billing/billing_reference.html#billing-codes) Its seems that i have

Android Studo 3.0 SDK Manager, can't find Extras

北慕城南 提交于 2019-12-24 17:07:32
问题 Using Android Studio 3.0 / SDK Manager In trying to set up BILLING, tutorials show installing it through Extras in SDK Manager. I don't have an Extras folder in SDK manager and can't find any reason why, how to get it, what's wrong, or what to do. Help. please? UPDATE: Here's what my SDK Manager looks like: UPDATE: Here's my SDK Manager Updates Tab 回答1: You're using an outdated tutorial. If you're doing native Android development, you should be using the Play Billing Library, which does not

Where is Publishing State for a product in Google in-App Billing

為{幸葍}努か 提交于 2019-12-24 12:48:48
问题 Based on google documentation on this link http://developer.android.com/google/play/billing/billing_admin.html#billing-catalog they said a product has a "Publishing State" as Publishing State An item's publishing state can be Published or Unpublished . To be visible to a user during checkout, an item's publishing state must be set to Published and the item's application must be published on Google Play. Note: This is not true for test accounts. An item is visible to a test account if the

Server side can do something similar to mobile side comsumeAsync() in Google Billing Library?

南楼画角 提交于 2019-12-24 07:55:07
问题 For consumable products, use consumeAsync() , found in the client API. For products that aren't consumed, use acknowledgePurchase() , found in the client API. A new acknowledge() method is also available in the server API. After purchase the consumable product, is there any way can acknowledge the purchase in our backend side to allow second purchase? Billing library overview Reference 回答1: You can use similar url which is used for server-side verification of an in-app purchase to acknowledge

Inapppurchases: get api query failed “code”:400,“message”:“Invalid Value” “code”:500,“message”:null

半城伤御伤魂 提交于 2019-12-24 03:39:12
问题 I get access_token by this way :https://developers.google.com/android-publisher/authorization 1.use google account allow acess get code 2.use code to get refresh_token 3.use refresh_token get access_token when use this api $url_purchase = "https://www.googleapis.com/androidpublisher/v1.1/applications". "/$packageName/inapp/$productId/purchases/$token?access_token=". $return_data->access_token; $return_purchase = http_get($url_purchase); some billing return {"error":{"code":500,"message":null}

Android IAB: Billing service unavailable on device

久未见 提交于 2019-12-24 02:13:52
问题 I am trying to implement IAB in my app. Each time the app starts, the start up fails with: Problem setting up In-app Billing: IabResult: Billing service unavailable on device. (response: 3:Billing Unavailable) I've tried literally everything: Ensuring I have the com.android.vending.BILLING permission in the manifest. Uploading the APK to the beta channel with both versions corresponding. Using test accounts. Clearing the Google Play cache. Making sure I have the latest Google Play services in

When Google Play In-app Billing V.3 is not supported

旧街凉风 提交于 2019-12-24 00:52:43
问题 In Google Play, In-app Billing V.3 there is an option to check if it's supported on user device. Using isBillingSupported method. What do I do if it's not supported. Can I send the user to update his device(If yes, so how?)? What can I do to enable him purchasing from me? 回答1: InAppBilling v3 requires: Google Play client version 3.9.16 or higher Google Play client version 3.10.10 or higher for subscriptions If it is not supported, I would recommend to ask the user to update its Google Play

can we test the in-app purchase android application via GOOGLE APIs emulator

情到浓时终转凉″ 提交于 2019-12-24 00:43:30
问题 I have one question in my mind that can we test the in-app purchase application in Google Apis emulator with different api level? Any information regarding this will be welcomed. 回答1: You cannot test services like in app billing and LVL on emulators as they lack Google Play, which acts as a middleman between your app and then launch Google servers. Additionally, the accounts you can configure on the emulator are limited in functionality. See this for details on testing. 回答2: No, you can't.

How to implement Android In App Subscription API for monthly subscription of my application?

浪子不回头ぞ 提交于 2019-12-24 00:39:15
问题 I have made an application which I want to publish on Google Play and want to set monthly subscription plan for this app. For example first month I will give app as trail for one month and after that every month I will charge $1 to use my application service. I have studied about Android In App Subscription API but not able to understand the whole concept. Now my question are? How to handle the trial of application. How to make payment when trail is over? Hoe to handle the subscriptions? What