In-App Purchases. How to restore IAP in UE 5.4

Bear_Investor
Mon, 19 May 2025 07:51:42 +0000
Blueprint

Hello.
I have setup Google play services for our game.
Make an In-App Purchase Item in google play console named “shop_test”.
In game as soon as you boot up, game will log you into your Google account via node “Show External Login UI” successfully.
After that you can press button called “buy” to make in-app purchase (IAP). During purchase I use testing credit card and successfully complete IAP and everything seems OK.

Here are my BP Code to make IAP:

But: after I close and reopen my game, I run check for already purchased items via nodes “Restore Owned In-App Products” and “Query For Owned In-App Products” and then print Length of each returned arrays. And it always return length of 0.

Also I can buy IAP again via “Buy” button.

How to restore purchased IAP?

In other forums I read that default UE nodes doesn’t complete purchase proccess corectly to google play, so google play doesn’t know that purchased was comleted. I don’t know if that is true.

I am using UE 5.4.4
Game is currently in “Internal testing” in Google play.
I am using google play console (with Google play service enabled) and google cloud

Does anybody have working In-App Purchases in their game for Unreal engine 5?
Is this a problem with nodes itself, or am I missing something else?

I appreciate every response. Even confirmation that your game and IAP works properly in Unreal engine 5 is appreciated

3 posts - 2 participants