Not able to test subscription availability on App Store's sandbox environment

While testing the purchase of renewable subscriptions on App Store's sandbox environment we have observed that defining subscription availability (either restricting to specific countries or making it unavailable) has no effect.

No matter what is the purchasing Sandbox Tester's assigned region or even if the product was marked as unavailable - always every product defined in App Store Connect is returned when fetched using StoreKit 2 API (Product.products(for:)).

Due to the described behaviour we are not able to test different sets of products being available for specific regions.

Note: The testing was done on app that is not yet published and the products as well were not reviewed - they all have "Ready to Submit" status. The app was built from Xcode (TestFlight distribution was not used).

--

Question 1: Is that an expected behaviour?

Question 2: When testing TestFlight distributed app will the availability be respected?

Question 3: Is the subscription's status in App Store Connect ("Ready to Submit") related to how it behaves? Is the behaviour varying when testing on Sandbox or using TestFlight?

Hi @CardinalBiggles, have you solve this issue? We have exactly the same issue. The region setting of my sandbox account doesn't seem to be working. It should be available to US only, but my sandbox account for Singapore can see the product. @@ Also, it can finish purchase with out issue...

Not able to test subscription availability on App Store's sandbox environment
 
 
Q