Can't enter sandbox environment for IAP testing on any of my apps - always getting -100 error with no [Environment: Sandbox] indicator

Body:

I'm experiencing a persistent issue that has affected multiple apps I've developed, and I'm hoping to get some guidance from the community or Apple engineers.

The Problem: When testing In-App Purchases, my app never enters the sandbox environment. The payment prompt does NOT show the "[Environment: Sandbox]" indicator, and I always receive error code -100 (Invalid Product Identifier). This issue has occurred across multiple apps I've built, including a previous app that I ultimately had to release as a paid download (rather than freemium with IAP) because I couldn't resolve this same problem. Now I'm facing the identical issue with my new app, "AI Job Assistant".

What I've Checked (all correct):

✅ Paid App Agreement status is "Active" in App Store Connect

✅ Bundle ID matches exactly between Xcode/HBuilderX and App Store Connect

✅ Product IDs in code match those created in App Store Connect (case-sensitive, no spaces)

✅ All IAP products have complete metadata (name, description, pricing, 640x920 screenshot)

✅ Product status is "Ready to Submit" (not "Waiting for Review")

✅ I have both iOS Development certificate and iOS Distribution certificate — I am using the Development certificate for testing

✅ My provisioning profile is explicitly for Development (named "aijobDevprofile", shows "iOS Development" type)

✅ The Development profile contains my test device UDID

✅ I have fully signed out of my real Apple ID in Settings → Media & Purchases

✅ I only log into my Sandbox Tester account through the purchase prompt (not in Settings)

✅ I test on a real device (not simulator)

✅ I have tried creating multiple new Sandbox Tester accounts

✅ I have tried toggling "Cleared for Sale" off and on for all products

✅ I have waited over 24 hours after making configuration changes

What I See:

When I initiate a purchase, the payment prompt comes up but there is NO "[Environment: Sandbox]" text anywhere

After entering my Sandbox Tester credentials, the request fails with error code -100 (Invalid Product Identifier)

My Setup:

Development framework: uni-app / HBuilderX (custom debug base with Development certificate and Development provisioning profile)

Backend: Cloudflare Workers (handles receipt verification)

Testing device: iPhone (latest iOS version)

The same issue occurred with my previous app, which I never resolved and eventually gave up on IAP entirely

Question: Why does my app never enter the sandbox environment despite using the correct Development certificate and Development provisioning profile? Is it possible there is an issue at the Apple developer account level that is preventing sandbox environment activation? How can I force my debug builds to connect to sandbox instead of production?

I am willing to provide any additional logs or information needed. Please help.

Thank you.

Can't enter sandbox environment for IAP testing on any of my apps - always getting -100 error with no [Environment: Sandbox] indicator
 
 
Q