I tried to create new blank project to test IAP on iOS, but AIP doesn’t works. Here’s my steps:
-
Create new blank blueprint-project in 4.10. I’m using Windows
-
Create Certificates, Identifier & Profiles for iOS. Check that “In-App Purchase” is “Enabled”
-
Import Certificates and Profiles using iPhonePackager.exe
-
Set up project settings:
-
Set up IAP in iTunes Connect and create some product for sale
-
Open “C:\Program Files\Unreal Engine\4.5\Engine\Config\IOS\IOSEngine.ini” and change bSupportInAppPurchasing to True
[OnlineSubsystemIOS.Store]
bSupportInAppPurchasing=True -
Add some lines to the DefaultEngine.ini:
[OnlineSubsystem]
DefaultPlatformService=IOS[OnlineSubsystemIOS.Store]
bSupportsInAppPurchasing=True -
Create blueprint with “make IAP” node:
-
Change build config to “Shipping” and chack “for distribution”
-
Package, install *.ipa, run
-
Look at “fail” message
Why it doen’t works?
I tried to use “bSupportInAppPurchasing=True” instead “bSupportsInAppPurchasing=True” in the DefaultEngine.ini but all the same