android-billing
Android In App Billing: Can’t start launchPurchaseFlow because launchPurchaseFlow is in progress
I believe you just have to get the updated code the the in-app billing classes and you shouldn’t run into the same problem again. Google hasn’t pushed out the changes to the SDK Manager yet as far as I know. Just copy/paste the new classes into yours and you shouldn’t run into the problem any … Read more
Google Play In-app Billing API version is less than 3
I started seeing this error when using the Emulator without logging into Google Play. Once I logged into Google Play with my account the error went away.
How to remove Subscription from product list in developer console and what will be its effect on the old subscribed users?
Unfortunately, It’s not possible to remove a subscription product from the product list of the developer console. You can just remove the subscription product from the product list offered in your app to prevent users from seeing or purchasing it.
Calling startIntentSenderForResult from Fragment (Android Billing v3)
I suggest two solutions: 1.) Put the IabHelper mHelper on the activity and call the IabHelper from the fragment. Something like: To use this solution, Declare IabHelper as public in the activity and use a method to call the launcher from the Fragment. public class MyActivity extends Activity{ public IabHelper mHelper public purchaseLauncher(){ mHelper.launchPurchaseFlow(this, SKU_GAS, … Read more
Android in-app billing: Can’t start async operation because another async operation (is in progress)
A simple tricky solution before calling purchaseItem method just add this line if (billingHelper != null) billingHelper.flagEndAsync(); so your code looks this way if (billingHelper != null) billingHelper.flagEndAsync(); purchaseItem(“android.test.purchased”); Note: don’t forget to make public flagEndAsync() method in IabHelper if you call it from another package.
In-app purchases with multiple accounts
It seems like there isn’t a one way road to solve this, but let’s try do this. When the user first install the app get his/her primary email or all accounts on the device Ask the user what email will they be using for future payment/ or which account is active for google play. you … Read more
Why is it important to set the developer payload with in-app billing?
If you don’t keep a record there is no way to verify that what you get is what you sent. So if you add something to the developer payload, you can either trust that it is legitimate (which is a reasonable assumption if the signature verifies), or not trust it completely and only use it … Read more