I'm experiencing an issue where in-app purchases work correctly in both profile and debug modes. However, when I upload the app to TestFlight, the in-app purchases are not functioning as expected. How can I resolve this issue?
Resolving In-App Purchases Issue on TestFlight
Can you share more about the issue, please?
when i run debug or profile it will allow me to in app purchase but in testflight Product is empty
Confirm that the product identifiers you are fetching in your Xcode project also exist in App Store Connect. Testing in-app purchases in TestFlight uses the sandbox environment. The test environment uses data defined in App Store Connect when your app calls StoreKit APIs.
If you are using a StoreKit configuration file, verify that it is synced and contains the latest updates from App Store Connect.