Testing IAP and I cannot display the list of products!?

I have created four (4) items for purchase and they are all in the "Ready to Submit" state; I am running my app on a real device, with a user (apple id) I have created as a tester and I can not display the list of IAP content in the view!?

It comes back as "bad products" due the the following code:

let badProducts = response.invalidProductIdentifiers

to identify when bad productids are used. Does anyone know how I can display my IAP products while my app has not be released/published in the app store?!

From SKProductsResponse's invalidProductIdentifiers:
The App Store may not recognize your product identifiers unless you have met the following criteria, as applicable:
  • Agreed to the latest Apple Developer Program License Agreement.

  • Completed all the financial agreements as described in the Agreements, Tax, and Banking Overview. When you renew your developer membership, see if you need to make updates to your agreements. When your developer membership expires, your financial agreements expire as well.

  • Your app uses an explicit App ID.

  • In-app purchases are cleared for sale in App Store Connect. See Set availability for in-app purchase.

  • Modified in-app purchases are available to the App Store servers.

  • The product identifier specified in App Store Connect matches the identifier used by the SKProductsRequest object in your app. 

  • The content of your Apple-hosted product has been uploaded to App Store Connect. See Upload in-app purchase content to App Store Connect.

If you have these products configured in App Store connect, then they are automatically and always for sale in the Sandbox environment. And If you are side loading your application to your device it will be using the sandbox environment. Then when you are attempting to purchase, the payment sheet will indicate if it’s using the sandbox environment and it will require a Sandbox Apple ID that you can set up in App Store connect.

also you have the option to use TestFlight for distribution and testing, which is using sandbox but does not require a Sandbox Apple ID from App Store connect.



Testing IAP and I cannot display the list of products!?
 
 
Q