Note that there are some explanatory texts on larger screens.

plurals
  1. PODoes Google Play In-App Billing Version 3 support refunds?
    text
    copied!<p>I've gotten IAB v3 working and I was able to make a purchase for a managed item. However, to continue developing and testing I wanted to refund the purchase so I could try making the same purchase again. I logged into my Google Checkout Merchant account and successfully refunded the purchase. However, the app still thinks that the user has the item purchased. It has already been several weeks since I made the refund so its not a delay issue. </p> <p>Basically, in my <code>QueryInventoryFinishedListener</code> implementation, <code>inventory.hasPurchase(SKU_REMOVE_ADS)</code> always returns true, even after the refund (<code>SKU_REMOVE_ADS</code> is the SKU for item I'm selling). I was expecting it to return false after the refund had been processed.</p> <p>If you look at the <a href="http://developer.android.com/google/play/billing/billing_admin.html#billing-refunds">'Handling Refunds' section of the IAB reference</a>, it says that your app needs to be listening to the IN_APP_NOTIFY messages. However the <a href="http://developer.android.com/google/play/billing/v2/api.html#billing-action-notify">documentation for IN_APP_NOTIFY</a> is specific to v2 of in-app billing. It doesn't seem to be something that's available in v3 since its not mentioned anywhere in the v3 reference nor can I find any reference for it in the <a href="https://github.com/obriand/android-iabv3-trivialdrive">sample TrivialDrive app</a> that they are using to demonstrate IAB v3.</p> <p>So does v3 of IAB support refunds/cancelling purchases? Has any one tried it and got it working?</p>
 

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