# Can't restore purchases in 4.25

**URL:** <https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940>\
**Category:** Platform & Builds\
**Tags:** in-app-purchase, unreal-engine, question\
**Created:** [January 28, 2021, 9:07pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940 "2021-01-28T21:07:21Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [January 28, 2021, 9:07pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/1 "2021-01-28T21:07:21Z")

</div>

Hi, i recently upgraded from 4.24 to 4.25. Problem is, all purchasing-related nodes stopped working. So i modified my code to use the v2 of the purchases nodes, and now everything seems to be fine, with one exception: “restore in-app purchasesV2” does not return anything anymore (the returned array is empty). Even more, looks like the game allows me to purchase “non-consumable” items more than once (previously a “you already own this” message poped up).

So looks like UE4 now treats non-consumables as consumables.

What changed? Is there something wrong with my implementation? Or is this a bug? If so, would upgrading to 4.26 fix this?

 ![328344-purchases.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/b/49bd193ffa9e1ae54b507886a657659719687216.png)

 ![328345-purchases1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/5/9/059b424087b7a2ae66d6022b91584b9d64c02ade.png)

---

<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:** [February 3, 2021, 3:53pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/2 "2021-02-03T15:53:04Z")

</div>

I did some testing and if you disable StoreV2 in the configuration files v1 nodes will start working again. Restoring purchases using V1 works perfectly fine. Until v2 nodes are fixed i’ll just stick to v1.

---

<div class="post-metadata">

**Author:** ![Feather\_2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Feather\_2](https://forums.unrealengine.com/u/Feather_2)\
**Post date:** [February 10, 2021, 12:58pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/3 "2021-02-10T12:58:04Z")

</div>

How do you disable StoreV2 ?

---

<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:** [February 10, 2021, 1:11pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/4 "2021-02-10T13:11:50Z")

</div>

Don’t bother, V1 is not longer supported and no longer works properly (even tough you can restore purchases properly, the newly made purchases are not beeing confirmed and google automatically refunds them after about 10 minutes, not to mention that the game will start crashing A LOT if you use the old version). We must wait for some update to patch StoreV2. Until then, 4.24 still works.

If you still want to disable store V2 and use V1, drop this in your config file:

[OnlineSubsystemGooglePlay.Store]  
bUseStoreV2=False

---

<div class="post-metadata">

**Author:** ![Dr.SAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dr.SAP](https://forums.unrealengine.com/u/Dr.SAP)\
**Post date:** [February 27, 2021, 8:26am UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/5 "2021-02-27T08:26:29Z")

</div>

No, “restore in app purchases2” does not seem to work in 4.26.1 too. I think the main reason is that “Break In App Purchase Restore Info2” is empty even after “On Success”. Can I please ask you if you have reported this problem so that I will vote on it as well?

---

<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:** [February 27, 2021, 3:38pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/6 "2021-02-27T15:38:59Z")

</div>

Hi, it rather looks like “is consumable” flag is ignored and all purchases are treated as consumables. No, i haven’t reported the issue yet.

---

<div class="post-metadata">

**Author:** ![Dr.SAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dr.SAP](https://forums.unrealengine.com/u/Dr.SAP)\
**Post date:** [February 27, 2021, 3:43pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/7 "2021-02-27T15:43:52Z")

</div>

Interesting point, is this why restore does not work as well? Because consumables are not restorable…

---

<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:** [February 27, 2021, 3:48pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/8 "2021-02-27T15:48:07Z")

</div>

Yes, this is the issue i belive. Previously, in 4.24, attempting to purchase something you already own would result in a “you already own this” message. In 4.25, pressing the “purchase” button again only prompts you to purchase the item again. That’s why i belive that “isconsumable” is ignored.

---

<div class="post-metadata">

**Author:** ![Dr.SAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dr.SAP](https://forums.unrealengine.com/u/Dr.SAP)\
**Post date:** [February 27, 2021, 3:51pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/9 "2021-02-27T15:51:03Z")

</div>

That can cause a lot of issues!

---

<div class="post-metadata">

**Author:** ![Dr.SAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dr.SAP](https://forums.unrealengine.com/u/Dr.SAP)\
**Post date:** [February 27, 2021, 3:52pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/10 "2021-02-27T15:52:34Z")

</div>

If you ever reported this please let me know to vote on it 🙂

---

<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:** [February 27, 2021, 4:25pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/11 "2021-02-27T16:25:44Z")

</div>

I have reported the issue, waiting for the case to be reviewd and once the ticket is created i’ll post the report number here.

---

<div class="post-metadata">

**Author:** ![Dr.SAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dr.SAP](https://forums.unrealengine.com/u/Dr.SAP)\
**Post date:** [February 27, 2021, 4:29pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/12 "2021-02-27T16:29:41Z")

</div>

Thank you so much! 🙂 I will wait for the report number to vote on it.

---

<div class="post-metadata">

**Author:** ![thats\_mesfix](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thats_mesfix/32/873546_2.png) [@thats\_mesfix](https://forums.unrealengine.com/u/thats_mesfix)\
**Post date:** [April 25, 2021, 7:12pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/13 "2021-04-25T19:12:25Z")

</div>

And I also think that reading in version 2 does not work, because instead of, for example, the name of the item and the description, it returns the phrases “super cool item 1” or “super fan item 1” (apparently created by default in an array with information on the subject ).

---

<div class="post-metadata">

**Author:** ![thats\_mesfix](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thats_mesfix/32/873546_2.png) [@thats\_mesfix](https://forums.unrealengine.com/u/thats_mesfix)\
**Post date:** [April 25, 2021, 7:20pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/14 "2021-04-25T19:20:24Z")

</div>

So can you fix it? What about the application, where to sign? Google informs that soon version 2 will stop being supported, but it does not work for us either!

---

<div class="post-metadata">

**Author:** ![SanRoll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SanRoll](https://forums.unrealengine.com/u/SanRoll)\
**Post date:** [July 5, 2021, 4:24pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/15 "2021-07-05T16:24:56Z")

</div>

Hi, i was follow the config ([Using In-App Purchases on iOS | Unreal Engine Documentation](https://docs.unrealengine.com/4.26/en-US/SharingAndReleasing/Mobile/iOS/InAppPurchases/)) and adding the part of SubSystem inside of IOSEngine.ini and AndroidEngine.ini but allways have this error:

```
LogScript: Warning: Script Msg: UInAppPurchaseQueryCallbackProxy::TriggerQuery - In App Purchases are not supported by Online Subsystem
LogScript: Warning: Script Msg: UInAppPurchaseQueryCallbackProxy::TriggerQuery - In App Purchases are not supported by Online Subsystem
I dont know why not detect that.

```

If change to V2, always when read the Product ID the data is not correct, for example say:

```
[2021.07.05-01.06.21:356][552]LogScript: Warning: Script Msg: UInAppPurchaseQueryCallbackProxy2::TriggerQuery - GetUniqueNetIdFromCachedControllerId
UInAppPurchaseQueryCallbackProxy2::OnInAppPurchaseRead - Done
[2021.07.05-01.06.21:365][553]LogBlueprintUserMessages: [Shop_C_0] Cool Item1

```

Why when use v2 give me this info: [Shop\_C\_0] Cool Item1

Thx.  
BR

---

<div class="post-metadata">

**Author:** ![Arturogalaxy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Arturogalaxy](https://forums.unrealengine.com/u/Arturogalaxy)\
**Post date:** [July 11, 2021, 6:56pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/16 "2021-07-11T18:56:03Z")

</div>

Is there any solution for this problem yet?

---

<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:** [September 22, 2021, 11:15am UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/17 "2021-09-22T11:15:50Z")

</div>

I belive that only happens if you are in the engine (in the packaged game it should give you the actual items you setup in the app store). It is for testing i belive.

---

<div class="post-metadata">

**Author:** ![anon47927644](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon47927644](https://forums.unrealengine.com/u/anon47927644)\
**Post date:** [February 13, 2023, 2:44pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/18 "2023-02-13T14:44:46Z")

</div>

That makes no sense. We can’t ship a product based on the assumption that it will work. We should be able to see it, at least in the Log.

- Same here (cool items, So cool items, Fake item and so on)

---

<div class="post-metadata">

**Author:** ![RockyDias](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RockyDias](https://forums.unrealengine.com/u/RockyDias)\
**Post date:** [March 15, 2024, 9:46pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/19 "2024-03-15T21:46:46Z")

</div>

try to use unreal from source. Was the only thing that fixed it to me

---

<div class="post-metadata">

**Author:** ![MikeGem01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MikeGem01](https://forums.unrealengine.com/u/MikeGem01)\
**Post date:** [April 8, 2024, 2:47pm UTC](https://forums.unrealengine.com/t/cant-restore-purchases-in-4-25/477940/20 "2024-04-08T14:47:44Z")

</div>

How would I go about doing that? Ive been trying to get IAP to work for months now with no luck
