In app purchases wont work, tried everything

Earlier I managed to make the IAP system work with my app both on my phone build and TestFlight. But four days ago after building and putting the app on my phone, it stopped working randomly. I was tinkering with iCloud at the time.

Here’s all the things I can think of that I did right before it broke:

Created an iCloud container on the apple developer account.
Enabled iCloud in the project files, and tried both settings (on app open, on load/save)
Enabled the Online Framework plugin
Changed the name of the save file slot

Here’s what i’ve tried to fix it:

Disabling CloudKit support
Reverting the save file name
Recreating a mobile provision and certificate for Ad Hoc distribution
Using a third party plugin for IAP called MonetizationGoodies
Disabling the Online Framework plugin
Creating a entirely new blank project consisting of only: a widget with a button that turns green on iap read success, and red on failure (ofc turns red)
Reinstalling the engine
Checking for all signed agreements on the app store connect
Making sure the iap is “cleared for sale”
Uploading a new version to TestFlight and testing it both on my device and another one

Its been three nearly full days working to fix this, and im at a complete loss. Any input/help would be greatly appreciated!

Thanks!

Hello there,
did you manage to fix it?
I’ve been facing the same issue recently, it’s either crashing the game or just fail the transaction immediately, I’m using UE4.27 btw?

I did! It turns out that the IOSEngine.ini file was not in the IOS folder within the project Config folder. It was just in the config folder.