# In-App purchase testing on iOS failed

**URL:** <https://forums.unrealengine.com/t/in-app-purchase-testing-on-ios-failed/391758>\
**Category:** Mobile\
**Tags:** iap, onlinesubsystem, in-app-purchase, unreal-engine, iOS, failed, question\
**Created:** [April 24, 2017, 9:45am UTC](https://forums.unrealengine.com/t/in-app-purchase-testing-on-ios-failed/391758 "2017-04-24T09:45:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Buggiman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Buggiman](https://forums.unrealengine.com/u/Buggiman)\
**Post date:** [April 24, 2017, 9:45am UTC](https://forums.unrealengine.com/t/in-app-purchase-testing-on-ios-failed/391758/1 "2017-04-24T09:45:44Z")

</div>

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:_

 ![135299-iap1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/f/bef6c0cb3cf1b7dccfd14d966240d14cfc161730.png)

 ![135300-iap2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/8/5c8cf4fda144f4a247709fc324fc9caf7e0d71a7.png)

_DefaultEngine.ini edit:_

![135331-iap3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/7/b577888bdb7d197084ed333135dff882b1cab57b.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**

---

<div class="post-metadata">

**Author:** ![Buggiman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Buggiman](https://forums.unrealengine.com/u/Buggiman)\
**Post date:** [April 26, 2017, 9:56am UTC](https://forums.unrealengine.com/t/in-app-purchase-testing-on-ios-failed/391758/2 "2017-04-26T09:56:59Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Dan\_Unrealskills](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dan\_Unrealskills](https://forums.unrealengine.com/u/Dan_Unrealskills)\
**Post date:** [July 14, 2017, 10:26pm UTC](https://forums.unrealengine.com/t/in-app-purchase-testing-on-ios-failed/391758/3 "2017-07-14T22:26:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_089a4978](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_089a4978](https://forums.unrealengine.com/u/anonymous_user_089a4978)\
**Post date:** [January 13, 2019, 6:46pm UTC](https://forums.unrealengine.com/t/in-app-purchase-testing-on-ios-failed/391758/4 "2019-01-13T18:46:07Z")

</div>

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](https://zerobin.net/?3604a80137521d88#I0WG8U4zoEnn6FCa1oIahtfiNXzGabPR65RbSjhAkyo=)

IOSEngine.ini:

---

<div class="post-metadata">

**Author:** ![SanRoll](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SanRoll](https://forums.unrealengine.com/u/SanRoll)\
**Post date:** [July 5, 2021, 3:34pm UTC](https://forums.unrealengine.com/t/in-app-purchase-testing-on-ios-failed/391758/5 "2021-07-05T15:34:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![eggapple1220](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eggapple1220](https://forums.unrealengine.com/u/eggapple1220)\
**Post date:** [September 29, 2022, 3:41pm UTC](https://forums.unrealengine.com/t/in-app-purchase-testing-on-ios-failed/391758/6 "2022-09-29T15:41:12Z")

</div>

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 : )
