Download

How to create non-consumable IAP and restore it on Android?

Hi!

I was able to implement IAP on Android except for non-consumable IAP.

In Engine\Plugins\Online\Android\OnlineSubsystemGooglePlay\ Source\Java\com\epicgames\ue4\GooglePlayStoreHelper.java I found ConsumePurchase() that executes after every purchase and makes my purchase as consumable, but I want to have it as non-consumable purchase and be able to restore it. To do this acknowledgePurchase() should be executed instead of ConsumePurchase(). But iI didn’t found acknowledgePurchase() in GooglePlayStoreHelper.java.

How to perform non-consumable purchase on Android and how to restore it?

hello i have the same problem, did you find a solution for this?