iOS in-app purchases not working when deploying from windows

Engine version is 4.6.1

There seems to be an issue with making in-app purchases via Blueprint on iOS. At least when deploying from Windows. I have not tested it when deploying from a Mac.

I have used the ‘Make in-app purchase’ node in Blueprint with a correct product identifier and a development provisioning profile. It always executes the failure pin, in the device log it shows the following error message:

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

Hi HEGI,

It seems like IAP have not been enabled in your engine config file.

if you add the following to your projects DefaultEngine.ini

[OnlineSubsystemIOS.Store]
bSupportsInAppPurchasing=True

This will enable IAP for the IOS subsystems.

/Terence

Thanks! It works now. :slight_smile: That setting was well hidden.

Very, Ill expose it in a future release. :slight_smile:

Hey Terence,

Where exactly do I find the “projects DefaultEngine.ini”? Is it in the project settings of my game? Or would I find it in the Unreal Engine file folders on my PC?

Thanks

Hey Mr Moyo, you should have really opened a new question, but I’ll answer here anyway.

The DefaultEngine.ini file I mentioned lives inside [YourGameFolder]/Config

/Terence

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