in-app-billing

Android In-app product that is not consumable, but several can be purchased

佐手、 提交于 2019-12-02 11:24:19
问题 I am having confusion choosing a suitable product type of a commodity in my utility android application. My application is of a kind where the user is benefitted through the number of 'slots' that they own. Think of it like the length of a ListView. My free application will feature a maximum length of that ListView upto 5. But if a user needs more List Items, they can buy subsequent List Item slots. The user should be able to buy as many as they like at 0.50$ each. The problem is that, my in

Purchased subscription not returned in inventory

邮差的信 提交于 2019-12-02 11:19:32
I've adapted the play_billing sample in the Google extras of the Android SDK to use my own app package name and public key. I was able to purchase a managed item as well as a subscription thru the app. However, when I call methods such as Inventory.getAllPurchases() the subscription is not returned in the user's inventory, even after restarting and reinstalling the app. @Override public void onQueryInventoryFinished(IabResult result, Inventory inventory) { if(result.isFailure()) { log.error("In-app billing inventory query failed: " + result); return; } for(Purchase purchase : inventory

How to check if transaction is made with test account purchase or with real account purchase?

你说的曾经没有我的故事 提交于 2019-12-02 10:29:23
I am making an In-app purchase test with test account but the response from google is same as the purchase made from real account. How to check if the purchase is test based on the response from google? Yes, you can check that from the purchaseType field of the Google's Purchases.subscriptions API response refer . Field : purchaseType Type : integer Description : The type of purchase of the subscription. This field is only set if this purchase was not made using the standard in-app billing flow. Possible values are: 0 = Test (i.e. purchased from a license testing account) As Google suggests,

Android In-app product that is not consumable, but several can be purchased

我是研究僧i 提交于 2019-12-02 05:17:48
I am having confusion choosing a suitable product type of a commodity in my utility android application. My application is of a kind where the user is benefitted through the number of 'slots' that they own. Think of it like the length of a ListView. My free application will feature a maximum length of that ListView upto 5. But if a user needs more List Items, they can buy subsequent List Item slots. The user should be able to buy as many as they like at 0.50$ each. The problem is that, my in-app product neither comes under the definition of a 'managed product' alone, nor does it come under the

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

微笑、不失礼 提交于 2019-12-02 01:56:43
问题 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,

In app billing issue

☆樱花仙子☆ 提交于 2019-12-02 01:51:08
I am trying to implement in app purchasing and have had problems for days. When a user attempts to make a purchase it is successful but the app is giving an odd error that apparently dates back to os build honeycomb which prevents users from receiving the purchase until they click the buy button again. Steps: Make purchase Purchase successful No consumable given Click purchase button again Consumable given Here is the error I am getting when the consumable isn't given: Log Tag: Finsky Log Message [1] 1.run: missing delivery data for inapp:com.mybillingproblem:one_chip PID/TID: 26927 Code:

GooglePlay: The item you requested is not available for purchase

天涯浪子 提交于 2019-12-02 00:08:12
问题 I am getting the following from the Google Play IAB API; The item you requested is not available for purchase I have however successfully tested against static responses, and in addition, the following code returns myProductId in the list of available products; ArrayList<String> skuList = new ArrayList<String> (); skuList.add("myProductId"); Bundle querySkus = new Bundle(); querySkus.putStringArrayList("ITEM_ID_LIST", skuList); Bundle skuDetails = service.getSkuDetails(3, activity

GooglePlay: The item you requested is not available for purchase

僤鯓⒐⒋嵵緔 提交于 2019-12-02 00:05:58
I am getting the following from the Google Play IAB API; The item you requested is not available for purchase I have however successfully tested against static responses, and in addition, the following code returns myProductId in the list of available products; ArrayList<String> skuList = new ArrayList<String> (); skuList.add("myProductId"); Bundle querySkus = new Bundle(); querySkus.putStringArrayList("ITEM_ID_LIST", skuList); Bundle skuDetails = service.getSkuDetails(3, activity.getPackageName(), "inapp", querySkus); In addition I have; Published a beta APK Added a test user to the beta and

Linker command failed with exit code 1 (duplicate symbol)

∥☆過路亽.° 提交于 2019-12-01 22:29:31
I developing a game in Unity and I have used Admob, Facebook and GameCenter in it. It was working fine on iOS until I have added the OpenIAB for in-app purchase, though it works fine in Unity Editor. I am getting this error in xcode: duplicate symbol __Z14MakeStringCopyPKc in: /Users/UmerAzeem/Library/Developer/Xcode/DerivedData/Unity-iPhone-ejwaywhkiokzjofdpwnbebkbleai/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/FBUnityUtility.o /Users/UmerAzeem/Library/Developer/Xcode/DerivedData/Unity-iPhone-ejwaywhkiokzjofdpwnbebkbleai/Build/Intermediates

Invalid short purchase tokens

家住魔仙堡 提交于 2019-12-01 21:09:10
I have android app with subscription in-app purchase. Because I am using the subscription to deliver data from online service, I am using verification of purchase on server side via google play API (with purchase token the app send me after purchase). Majority of purchase tokens in my database are long alphanumeric strings, something like this : djcbhbiertdkkotyuupnlmioppb.AO-J1Ozg0oasdfB3MAlWy-PihFE_nPVRMMfTW2_VPJt5KTKQA3CXNwyqweJAtUdIGTuOW9zEIIy-XS_4Un-a-Co6aEs__Adj1rZ4GtRxPKr04ph-l6nP2sU-w6e500YfTj5l0O8WEXF37yt and these are verified OK. But from time to time I receive purchase tokens