Test in-app purchase inconsistent on iOS devices
Hi there,
⠀
My in app purchases are working on some of my testers' devices but not on others. It also works fine on my iOS device and all Android devices.
⠀
I have 2 users who have tried dozens of times with different builds. I even switched from completely code based in app purchases to codeless and it's still just an issue for those specific users.
⠀
I have confirmed that purchasing is initializing for them, and that the product exists. After they put in their password the purchase always fails with the error message: "OnPurchaseFailed: FAIL. PurchaseFailureReason: Unknown"
⠀
And that's the only information I about the problem that I can get. Again, it works fine for some of my users, and others not at all.
⠀
Maybe someone could give me some suggestion of what to do. Right now I'm using the Codeless API so there should be no issue with my code.
⠀
As for the IAP catalog these are the steps I have taken:
⠀
Set ID to IAP name on App Store Connect and Play Console
Set type to non-consumable
Selected English (U.S.) (Google Play, Apple)
Given Title
Given Description
Given pricing template for Google
Set price tier for Apple
Set screenshot path
Set Apple SKU
Set Apple Team ID
⠀
As mentioned, the button is hooked up and working on some iOS devices and all Android devices, so I don't think it's anything to do with how I've configured IAP in Unity.
⠀
Any suggestions would be greatly appreciated!
⠀
I'm also now getting a problem with Codeless IAP where if you cancel the in app purchase and go to purchase again, the button doesn't bring up the test confirmation dialogue, or the option to enter your password on the device. (But it DOES trigger BuyProductID() still)
⠀
Thanks Rob
Answer by mares_unity · Jul 15, 2020 at 08:47 AM
Hello @treborguy, my app still has the same problem with the IAP Purchase. The IAP purchase has always been functional except since IOS 13.4 update. On IOS 13.4 + devices, the native purchase popup no longer opens. The following error always occurs: "OnPurchaseFailed: FAIL. PurchaseFailureReason: Unknown"
Did you find a solution?
You can see my thread here https://forum.unity.com/threads/unity-iap-services-not-working-in-my-release-app-since-ios-13-4-the-purchase-dialog-does-not-show. 911093 /