# How to fix broken functionality for IOS in-app-purchases on UE4.16

**URL:** <https://forums.unrealengine.com/t/how-to-fix-broken-functionality-for-ios-in-app-purchases-on-ue4-16/400680>\
**Category:** Blueprint\
**Tags:** UE4-16, in-app-purchase, unreal-engine, iOS, bug-report, question, Blueprint\
**Created:** [July 26, 2017, 4:37am UTC](https://forums.unrealengine.com/t/how-to-fix-broken-functionality-for-ios-in-app-purchases-on-ue4-16/400680 "2017-07-26T04:37:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thejus75](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thejus75](https://forums.unrealengine.com/u/thejus75)\
**Post date:** [July 26, 2017, 4:37am UTC](https://forums.unrealengine.com/t/how-to-fix-broken-functionality-for-ios-in-app-purchases-on-ue4-16/400680/1 "2017-07-26T04:37:55Z")

</div>

I have a blueprint project with components of C++ in plugins added to the project with Unreal Engine 4.16.2, and I attempted to test in-app-purchases by uploading the project to iTunes Connect. I followed the documentation closely provided by Epic on how to setup in-app-purchases for IOS; however, the completion status of the purchase always returns as “not allowed.” I’ve researched thoroughly on how to fix this issue, since this is preventing me from submitting my app to the store, and there doesn’t seem to be a solution except for that it’s an engine bug. I can provide information on everything I’ve done so far to fix this issue, and all of the debugging I’ve personally done, but I wanted to know if there was an immediate fix that I’m just not aware of yet, or if this is a known issue that’s about to be fixed.

---

<div class="post-metadata">

**Author:** ![Tiefsignal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tiefsignal](https://forums.unrealengine.com/u/Tiefsignal)\
**Post date:** [August 27, 2017, 6:59pm UTC](https://forums.unrealengine.com/t/how-to-fix-broken-functionality-for-ios-in-app-purchases-on-ue4-16/400680/2 "2017-08-27T18:59:31Z")

</div>

I have the exact same problem!  
Help would be very appreciated!  
Version: 4.17.1

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [September 15, 2017, 12:10am UTC](https://forums.unrealengine.com/t/how-to-fix-broken-functionality-for-ios-in-app-purchases-on-ue4-16/400680/3 "2017-09-15T00:10:13Z")

</div>

In another AnsweHub post, a dev recommended to change the bUsesStoreV2 flag in the IOS.ini file to false. It apparently worked for some; I haven’t had a chance to test it out myself yet. (Other AnswerHub post: [iOS In-App purchases on TestFlight come back as "Not Allowed" - Mobile - Epic Developer Community Forums](https://answers.unrealengine.com/questions/678072/ios-in-app-purchases-on-testflight-come-back-as-no.html))

---

<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, 7:14pm UTC](https://forums.unrealengine.com/t/how-to-fix-broken-functionality-for-ios-in-app-purchases-on-ue4-16/400680/4 "2019-01-13T19:14:24Z")

</div>

Just use these:

Build.cs: [ZeroBin.net](https://zerobin.net/?3604a80137521d88#I0WG8U4zoEnn6FCa1oIahtfiNXzGabPR65RbSjhAkyo=)

IOSEngine.ini:

---

<div class="post-metadata">

**Author:** ![War\_and\_Donuts](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@War\_and\_Donuts](https://forums.unrealengine.com/u/War_and_Donuts)\
**Post date:** [June 6, 2019, 8:55pm UTC](https://forums.unrealengine.com/t/how-to-fix-broken-functionality-for-ios-in-app-purchases-on-ue4-16/400680/5 "2019-06-06T20:55:11Z")

</div>

I wanted to bump this answer here. This was the golden ticket that got it working for me.  
Thank you so much!
