Note that there are some explanatory texts on larger screens.

plurals
  1. POonPurchaseStateChange never called
    primarykey
    data
    text
    <p>Once I buy an item in a signed app on the Market, the fee is being charged, but after the message Your item will appear shortly nothing happens. This means, I have a class with method:</p> <pre><code>public class CheckoutPurchaseObserver extends PurchaseObserver { @Override public void onPurchaseStateChange(PurchaseState purchaseState, String itemId, int quantity, long purchaseTime, String developerPayload) { if (Consts.DEBUG) { Log.i(TAG, "onPurchaseStateChange() itemId: " + itemId + " " + purchaseState); } if (developerPayload == null) { logProductActivity(itemId, purchaseState.toString()); } else { logProductActivity(itemId, purchaseState + "\n\t" + developerPayload); } Log.d("STATE CHANGED", purchaseState+" item "+itemId+" quantity "+ quantity); if (purchaseState.equals(PurchaseState.PURCHASED)) { if (itemId=="5_pack"){ GameMemory.AddCredit(5); } } </code></pre> <p>This method seems never to be called. I saw on Stackoverflow that it might have something to do with the key in security.java (using this blog <a href="http://mcondev.wordpress.com/2011/06/26/integrate-in-app-billing-just-3-lines-of-code-in-your-app/#comment-74" rel="nofollow">http://mcondev.wordpress.com/2011/06/26/integrate-in-app-billing-just-3-lines-of-code-in-your-app/#comment-74</a>)</p> <p>So, either I have to wait a long time, does anybody know when Google Play gives a reaction? Or there is probably something wrong with that key. I copied the key from the merchant account in my publish account and tested it on a device with no connection to that gmail account at all.</p> <p>Do I have to remove that key when publishing maybe?</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    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.
    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