4.11 (iOS In-App Purchase Bug) iOS 9.3.1

I just submitted my app for the 3rd time to iOS and it was rejected stating:

2.2 Details

We discovered one or more bugs in your app when reviewed on iPad running iOS 9.3.1 and iPhone running iOS 9.3.1 on both Wi-Fi and cellular networks.

Specifically, we are still unable to purchase your app's In-App Purchase product.

The (Make an In-App Purchase) node does not seem to be coming back with a result on iOS 9.3.1 specifically or the result must have something other than one of the enums I’m handling. I’m handling OnSuccess & OnFailure against all possible enums (Success, Failed, Cancelled, Invalid, NotAllowed, Restored, Unknown).

I’m not able to easily debug this as I can only test this out for a distribution (shipping) build uploaded to iOS.

All of this works just fine for iOS 9.2.1.

Hey

Are you able to gather logs from the device? Please let me know if you’ve narrowed down what’s going on within your project. Provide reproduction steps if possible.

Windows:

  • Open iPhonePackager (Engine/Binaries/DotNET/IOS)
  • Select a uproject file (Optional)
  • Select the Advance Tools tab
  • Select Other Deployment Tools…
  • Select Backup Documents…
  • Select the IPA for the game you wish to get a log for
  • The documents directory data will then be copied to Engine/Binaries/DotNET/IOS/IOS_Backups or GameDir/IOS_Backups if a uproject was selected
  • The log can then be found at IOS_Backups/Game/Saved/Logs

Mac:

  • Open Xcode (Install Xcode if you have not already)
  • Open Window|Devices
  • Select the device you want to get the log off of
  • Select the app you want to get the log from
  • Select the gear icon under the app list
  • Select Download Container
  • Select a location for the container file
  • Navigate to the file via Finder
  • Right click and select Show Package Contents
  • Navigate to the location of the log (AppData/Documents/Game/Saved/Logs/)

Hey

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

All I’m getting from Apple right now is that when they click the button that initiates the in-app purchase they are saying, “No action occurs”. Even though I’m able to run it and see the in-app purchase pop up for me just fine running the same version through Test-Flight. I’m going to be trying to work w/their developer center to resolve it but will be complicated as they will want to know the source which is all epic UE… Not sure why I’m the only one running into this. It has been a nightmare to try and get this approved.

Below is what they responded with (see below). Also, look at the link they mentioned entitled “My app does nothing or crashes when App Review attempts to purchase an In-App Purchase product”. That is what is happening…The problem is I can’t replicate it and they don’t seem to be able to help either!.

Thank you for contacting Apple Developer Technical Support (DTS). 

 We’ve determined that your question should be addressed by the support channel for Unreal Engine v4.11 - the third-party resource you are using.  DTS supports developers using Apple-authored tools and frameworks only. We are unable to provide support for third-party tools, development environments, tutorials or other resources.

 However, based on your request Apple Developer Technical Support believes that your question maybe answered by the "Why are my product identifiers being returned in the invalidProductIdentifiers array?
 " troubleshooting section of "Technical Note TN2413 In-App Purchase FAQ" linked here: 

https://developer.apple.com/library/ios/technotes/tn2413/_index.html#//apple_ref/doc/uid/DTS40016228-CH1-TROUBLESHOOTING-WHY_ARE_MY_PRODUCT_IDENTIFIERS_BEING_RETURNED_IN_THE_INVALIDPRODUCTIDENTIFIERS_ARRAY_

Hey

Thank you for providing me with the information from Apple. I apologize for the delayed response since we last spoke.

Did you check down the whole list provided by Apple’s troubleshooting guide, to ensure it’s been added into your game?

  • Are you using an explicit App ID?
  • Did you clear your in-app purchase products for sale in iTunes Connect?
  • Did you sign your app with the provisioning profile associated with your explicit App ID?
  • Did you modify your product, but they’re not yet available to the App Store servers?
  • Did you complete the financial requirements?
  • Does your product identifier in iTunes Connect match the identifier used by the SKProductsRequest object in your app?

Could you upload the logs from the device too, so we can see what they’re seeing?

Looking forward to hearing back from you, thanks!

Yes to all. No I cannot upload a Log. As I’ve stated I cannot replicate the error and they could not give me a log. I cannot replicate it at all using TestFlight as I’m able to do the in-app purchase just fine.

We’re still looking into this, to see what can be done. We’ll respond as soon as we’re able to.

Thanks!