Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

MacRumors

macrumors bot
Original poster
Apr 12, 2001
57,019
19,906


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
 

Appleman3546

macrumors 6502
May 13, 2019
376
649
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!
 

JamesBerry

macrumors member
Jan 6, 2009
78
12
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!
 

az431

Suspended
Sep 13, 2008
2,131
6,122
Portland, OR
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.
 

sideshowuniqueuser

macrumors 68020
Mar 20, 2016
2,170
2,054
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.