in-app-billing

IAB helper is not set up. Can't perform operation: queryInventory

 ̄綄美尐妖づ 提交于 2019-12-20 10:33:19
问题 I am trying to implement in-app-billing API in my app but when I run my app it trows an exception. This is the first time that I am dealing with in-app-billing API. This is the log of the exception that I am getting: Process: koemdzhiev.com.quickshoppinglist, PID: 10604 java.lang.RuntimeException: Unable to start activity ComponentInfo{koemdzhiev.com.quickshoppinglist/koemdzhiev.com.quickshoppinglist.ui.MainActivity}: java.lang.IllegalStateException: IAB helper is not set up. Can't perform

Updating an Android App that uses In App Billing

你说的曾经没有我的故事 提交于 2019-12-20 10:26:54
问题 We have an Application which utilizes In App Billing. The problem that we're seeing is as follows: When the versionCode of the App on the device is the same as the version code of the Application published in the Play Developer Console, Billing works fine. When a build with a higher versionCode is uploaded to the Play Developer Console, In App Billing stops working on the App on the device (with a lower versionCode) saying that "The Application is not configured for Billing". This is fine,

Is it possible to have multiple APK support based on country?

孤街浪徒 提交于 2019-12-20 10:23:32
问题 I have an application that has free and priced products, I need to create two APKs for my application and show the application that supports In-App Billing in the countries that support it and show another APK of the same application that doesn't support In-App Billing (It has only the free products) in the countries that don't support it. Can I use the Android Market Multiple APK Support feature to achieve this? If not, is there any feasible suggestions other than creating tow separate

In app billing issue

可紊 提交于 2019-12-20 02:57:11
问题 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

Linker command failed with exit code 1 (duplicate symbol)

泄露秘密 提交于 2019-12-20 02:46:15
问题 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

Invalid short purchase tokens

僤鯓⒐⒋嵵緔 提交于 2019-12-20 02:39:16
问题 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

Protection from Freedom

不羁的心 提交于 2019-12-19 08:13:23
问题 Just tried the Freedom app on our application and I could bought every in app purchase item with it. At least when running the Play Store 3.x. If I upgraded the play store to 4.x than the Freedom hack stopped working. Anyhow, is there a way to protect against it? 回答1: Check the orderId returned. Correct orderIDs are of the form: [merchant ID].[actual order ID] Find your merchant ID in your Wallet account (last line on order page) and check in your app if it's the same. As the Freedom hack

What is the purpose of the “developer payload”? What can it be used for?

空扰寡人 提交于 2019-12-18 18:39:30
问题 The Android docs say that its meant for "supplemental information about an order" but at the same time it also says not to use this to send "actual data or content". So what is the purpose of this "developer payload"? Why does this feature exist? Can you describe a real-world practical example of how I can use it in my own In-app Billing implementation? 回答1: As aromero mentioned the developer payload field is limited in size. This is why the docs recommend not to use this key to send data or

What is the purpose of the “developer payload”? What can it be used for?

谁都会走 提交于 2019-12-18 18:38:15
问题 The Android docs say that its meant for "supplemental information about an order" but at the same time it also says not to use this to send "actual data or content". So what is the purpose of this "developer payload"? Why does this feature exist? Can you describe a real-world practical example of how I can use it in my own In-app Billing implementation? 回答1: As aromero mentioned the developer payload field is limited in size. This is why the docs recommend not to use this key to send data or

How to rectify the errors in the autogenerated IMarketBillingService.java file?

浪子不回头ぞ 提交于 2019-12-18 18:36:25
问题 I am trying to implement In app billing service in my Andorid application. I've added the IMarketBillingService.aidl file to my project in Eclipse. Then Eclipse autogenerated the IMarketBillingService.java file, but with many errors. @Override public android.os.IBinder asBinder() { return mRemote; } - implements android.os.IInterface.asBinder - The method asBinder() of type IMarketBillingService.Stub.Proxy must override asuperclass method @Override public android.os.Bundle sendBillingRequest