# Android Query Owned Purchases

**URL:** <https://forums.unrealengine.com/t/android-query-owned-purchases/471284>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, question\
**Created:** [September 13, 2020, 10:07am UTC](https://forums.unrealengine.com/t/android-query-owned-purchases/471284 "2020-09-13T10:07:41Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![ldragosl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ldragosl](https://forums.unrealengine.com/u/ldragosl)\
**Post date:** [November 28, 2021, 7:30pm UTC](https://forums.unrealengine.com/t/android-query-owned-purchases/471284/22 "2021-11-28T19:30:27Z")

</div>

They have made it so that when “finalizepurchase()” is called, the purchase gets consumed instead of aknowledged. As a matter of fact, there is no aknowledging code in the GooglePlayStoreHelper.java  
You can code it to start working again:

> [@Android letting me purchase a non-consumable product more than 1 time](https://forums.unrealengine.com/t/android-letting-me-purchase-a-non-consumable-product-more-than-1-time/225684/4):
>
> I fixed this finally. Problem lies within the engine itself. According to Google, all purchases need to be “acknowledged” after the successful purchase event. I checked the GooglePlayStoreHelper.java file at Engine → Plugins → Online → Android → OnlineSubsytemGooglePlay → Source → Java → BillingApiV2 → com → EpicGames → ue4 → GooglePlayStoreHelper.java. Check the OnPurchaseResult method. There is no code for acknowledgement. In fact without acknowledgement, Google play will refund the purchase …

After adding this code to the java file, DO NOT CALL “finalizepurchase()” for objects that you do not want consumed.

P.S: If you’re a blueprint only dev, you can’t get it to work, you have to wait for a fix from Epic.

---

_[View the full topic](https://forums.unrealengine.com/t/android-query-owned-purchases/471284)._
