In-App purchase testing on iOS failed

Hello,

I set Blueprint system for In-App Purchasing like in the following screenshots. I set provision and certificate for ios. I set my DefaultEngine.ini, you can see it on screenshot too. I test it on my iphone. Everything works fine but IAP fails.
I tried to pack my project on shipment and development both times it failed. Log says:

Script Msg: UInAppPurchaseCallbackProxy::Trigger - In-App Purchases are not supported by Online Subsystem

LogBlueprintUserMessages: [Money_Purchase_111] IAP Failed (it executes -On Failure Node- )

Can someone point me the right direction or atleast tell me what may cause this.

IAP Blueprint Setup:

DefaultEngine.ini edit:

135331-iap3.png

edit: I tried to add this inside the game.build.cs but still same.

PublicDependencyModuleNames.Add(“OnlineSubsystem”);
DynamicallyLoadedModuleNames.Add(“OnlineSubsystemIOS”);

edit2: I tried it on Android and i got the same Error.

LogScriptCore:Warning: Script Msg: UInAppPurchaseCallbackProxy::Trigger - In-App Purchases are not supported by Online Subsystem

I managed to fix it. I created Android folder inside the Config folder. I created Android.ini and put these inside it,

[OnlineSubsystem]

DefaultPlatformService=GooglePlay

[OnlineSubsystemGooglePlay.Store]

bSupportsInAppPurchasing=True

I did the same for IOS.

For IOS did you made IOSEngine.ini? or IOS.ini? Provide IOS config, please

I solved it after 2 years, I am able to use IAPs in my game in iOS! Yeyyy.

Just use these:

Build.cs: ZeroBin.net

IOSEngine.ini:

Hi, i have this problem i put all over the IOSEngine.ini file like you, but still give me the error:

LogScriptCore:Warning: Script Msg: UInAppPurchaseCallbackProxy::Trigger - In-App Purchases are not supported by Online Subsystem

I have the folder [Project_Name]/Config/IOS/IOSEngine.ini and [Project_Name]/Config/Android/AndroidEngine.ini but not work.

Any idea why? im using 4.25.2

Thx.
BR

hi i find solution , my unreal version = ue 5.02

1 . there are two version of in-app purchase , v1 and v2 , this solution is for v1

2 . there is an IOSEngine.ini at “user/shared/Epic Games/UE_5.0/Engine/Config/IOS/”

open it and find “bUseStoreV2=true” , change it to “bUseStoreV2=false”

that’s it , 2022/09/29 , hope this will be helpful : )