Blueprint In-app Purchase difficulty for IOS

Hello,

I’m currently developing on UE 4.5.1 Windows Version for IOS platform; I have some difficulty to configure consomable in-app purchase using “make an in-app purchase” blueprint component for IOS :
the completion status return : failed

preview_UEinapp.png

The app is correctly launched on my device (Ipad Air), my Itunes Connect in-APP seems to be well configured with his product identifier

I’ve added to DefaultEngine.ini :


[OnlineSubsystem]
DefaultPlatformService=IOS

[/Script/OnlineSubsystemIOS.Store]
bSupportsInAppPurchasing=True

But the “make an in-app purchase” still not work
(for info the online Game center “Write Leaderboard integer” is working fine with sandbox)

Someone got some directions for use ?

Thx in advance
Stéphane
(From France)

Hey Stéphane,

I think the issue here is the section name,
[/Script/OnlineSubsystemIOS.Store]

try replacing that with
[OnlineSubsystemIOS.Store]

/

Hi ,

thanks for your advice, then I tried :


[OnlineSubsystem]
DefaultPlatformService=IOS

[OnlineSubsystemIOS.Store]
bSupportsInAppPurchasing=True

But not working either

in any case logs return warning :

[FONT=Lucida Console]LogModuleManager:Warning: ModuleManager: Unable to load module ‘OnlineSubsystemIOS’ because the file ‘C:/Program Files/Unreal Engine/4.5/Engine/Binaries/Win64/’ was not found.
LogOnline:Warning: Unable to load default OnlineSubsystem module IOS, using NULL interface

Capture :

Hope a solution…
Stéphane

IOS in-app purchase UE 4.5.1 (Windows)

SOLVED !

Just locate the

and only change bSupportInAppPurchasing to True


[OnlineSubsystemIOS.Store]
bSupportInAppPurchasing=True

Best regards
Stéphane

[EDIT] May be this could be done in the DefaultEngine.ini (bSupport[WITHOUT THE “s” FOR UE4.5.1]InAppPurchasing)

Ue 4.7.6 version :

BE CAREFULL : in the newest version of UE4 (working with 4.7.6) you’ll have to modifiy your DefaultEngine.ini like this :


[OnlineSubsystemIOS.Store]
bSupportsInAppPurchasing=True

Hi… I’m getting this error as well in latest UE3 4.14.2. Could you advise? Thanks!

I’m getting this error as well in ue4 4.14.2, please advise

I’m also getting same issue, please help!