In-app purchase iOS/Android support

Is there already built-in support for in-app purchases on iOS/Android?
If not, are there any tutorials on how to integrate it yourself?

Thanks!

Hi,

There is the beginnings of In-app purchases for iOS in the OnlineStoreInterfaceIOS.cpp file. Unfortunately, we don’t have any tutorials yet as we haven’t fully tested the system or added it to the blueprint system.

However, if you want to try to use this, you add the following section to the DefaultEngine.ini for your game:

[OnlineSubsystemIOS.Store]
+ProductIDs=
+DisplayNames=
+DisplayDescriptions=
+DisplayPrices=

This is very much untested except to verify it does load the items in to the internal game arrays. We will be looking to properly test and make it more formally available in a future release.

-Pete

Hi Pete,
thanks for your answer!
Since it is still work in progress, do you have an estimate when it’s going to be fully working? Because it’s not on your roadmap yet. Any info on this would be great. Thanks!

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.

Thanks!