Hey everyone, I really need help. My app versions keep getting approved for distribution and my subscriptions and business agreements are all approved. Yet, when the paywall in my app appears, and someone clicks the subscribe button to pay, the IAP isn't appearing. It just loads forever. When I tested in Xcode it just kept saying products not found. Id's are the same, bundle id is the same, ive done everything. Can someone help pls.
HELP WITH SUBSCRIPTIONS
If you are using SubscriptionStoreView with groupID overload, make sure the groupID entered is matching with the one in App Store Connect, not the one from your Xcode StoreKit configuration file.
In Xcode testing, you need a StoreKit config file, and make sure to select Edit Scheme -> Options tab and select StoreKit Configuration to the correct configuration file. But this does not affect your App Store version. You might need to handle unfinished transactions. Take a look at sample code from WWDC25 on StoreKit 2.
@lionelng suggestion is spot on! I haven’t use subscription codes forever, however this usually points to an issue with how the products are set up in App Store Connect, or how they are being requested in your code.
Go through Section 1 above meticulously. The "Product ID" exact match, "Ready to Submit" status, and complete metadata (localization, screenshot) are the most likely the issue?
If you just created the IAPs, it can sometimes take a few hours for them to propagate through Apple's system. Do you have a test harness to request them?
I believe, given your "products not found" error in Xcode, the problem is almost certainly in Section 1 (App Store Connect configuration) or Section 2 (Product IDs in code). The "loading forever" in production is a symptom of the app not being able to fetch the product details from the subscription?
Provide here for other developer to help the response.invalidProductIdentifiers shows when you debug, and what the status of your IAPs is in App Store Connect. That will narrow down the problem significantly!
There are experts in subscriptions here that I'm sure they can suggest a way to narrow down the issue.
Albert Pascual Worldwide Developer Relations.