Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacRumors

macrumors bot
Original poster
Apr 12, 2001
68,108
38,864


After being announced earlier this year at WWDC, Apple has now released enhanced sandbox testing to developers.

apple-developer-banner.jpeg


The feature will allow developers to test their in-app purchases for a wide range of scenarios, such as upgrades, downgrades, cancellations, introductory offers, and interrupted purchases.

The Apple sandbox environment lets you test in-app purchases on devices using product information set up in App Store Connect. You can now test upgrades, downgrades, and cancellations for subscriptions, as well as reset the introductory offer eligibility for a test account from Settings on devices running iOS 14 or later. You can also test your app's response to interrupted purchases on devices running iOS 14 or later. And App Store Connect users with the Developer role can now create and manage sandbox tester accounts.

The enhanced sandbox environment will afford developers far greater ability to test the implementation of their purchases using Apple's StoreKit framework in Xcode and iOS 14. Developers can now use a sandbox Apple ID to simulate all purchase situations exactly as their users will experience it.

Enhanced Sandbox Testing was first revealed at WWDC alongside other improvements to Xcode, "macOS Universal" apps, WebExtensions API support for Safari, and more transparent privacy information in the App Store.

Article Link: Apple Releases Enhanced Sandbox Testing to Developers
 
I actually ran into this problem two months ago, I was unable to test in-app purchases and was shocked to learn that I couldn’t in sandbox. This update is very needed, especially since we want to make sure the transaction involving money actually works properly before submission to avoid an unnecessary rejection!
 
Hopefully it includes parental control / approval simulation.
Every time my kids want to do an in-app purchase I am wondering whether it will complete properly
I'm looking at you SUPERCELL - 6 months to sort it out!
 
I actually ran into this problem two months ago, I was unable to test in-app purchases and was shocked to learn that I couldn’t in sandbox. This update is very needed, especially since we want to make sure the transaction involving money actually works properly before submission to avoid an unnecessary rejection!

it has always been possible to test in-app purchases in sandbox.
 
I actually ran into this problem two months ago, I was unable to test in-app purchases and was shocked to learn that I couldn’t in sandbox. This update is very needed, especially since we want to make sure the transaction involving money actually works properly before submission to avoid an unnecessary rejection!
Um yeah, quite extraordinary that it's only just now come out!

Imagine if the base API's were open source so other devs and companies could create such tools themselves :p
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.