Note that there are some explanatory texts on larger screens.

plurals
  1. POIabHelper PurchaseFinishedListener
    primarykey
    data
    text
    <p>If I send a purchase intent via the standard </p> <pre><code>String mySku = "android.test.purchased"; mHelper.launchPurchaseFlow(this, mySku, 10001, mPurchaseFinishedListener); </code></pre> <p>I am able to purchase the item and it will store and I can query the item and that works fine too. The only thing that doesn't work is is the PurchaseFinishedListener. I've got it coded pretty much identical to the sample app however it doesn't seem to get called at all.</p> <pre><code>12-12 01:40:47.248: D/IabHelper(23502): Calling getPurchases with continuation token: null 12-12 01:40:50.116: D/IabHelper(23502): Starting async operation: launchPurchaseFlow </code></pre> <p>These are the last two methods that get called and after that when I finish the purchase it doesn't call the purchasefinishedlistener</p> <pre><code>IabHelper.OnIabPurchaseFinishedListener mPurchaseFinishedListener = new OnIabPurchaseFinishedListener() { @Override public void onIabPurchaseFinished(IabResult result, Purchase purchase) { Log.d(TAG, "Purchase finished: " + result + ", purchase: " + purchase); if (result.isFailure()) { complain("Error purchasing: " + result); // setWaitScreen(false); return; } if (purchase.getSku().equals(mySku)) { Log.d(TAG, "mySku is being consumed."); mHelper.consumeAsync(purchase, mConsumeFinishedListener); } Log.d(TAG, "Purchase successful."); new AsyncQuestionsActivity().doInBackground(); } }; </code></pre> <p>Nothing from the log to the end works. Is there anything that I'm just somehow missing?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload