Apple Releases Enhanced Sandbox Testing to Developers

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

apple developer banner

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.

Top Rated Comments

Baymowe335 Avatar
15 months ago
Not for Epic though.
Score: 10 Votes (Like | Disagree)
PickUrPoison Avatar
15 months ago
Another one of the many developer tools Epic doesn’t want to pay for. The cheapskates ?
Score: 6 Votes (Like | Disagree)
Appleman3546 Avatar
15 months ago
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!
Score: 4 Votes (Like | Disagree)
Kkspire Avatar
15 months ago

To little, too late. Soon the App Store business model will come crashing down The world is ganging up on the ways of the App Store. Change is in the wind.
The world is ending. Things are so terrible. God is coming back to rapture us all.
Score: 4 Votes (Like | Disagree)
thewayfaerer Avatar
15 months ago

it has always been possible to test in-app purchases in sandbox.
Yes, but especially approval simulation was very difficult, as some threads on stack overflow show.
Score: 1 Votes (Like | Disagree)

Related Stories

IMG 05D35D96ED74 1

TestFlight Finally Coming to the Mac

Monday June 7, 2021 11:49 am PDT by
Apple today announced that TestFlight, which allows developers to public test their apps before launch, will be coming to the Mac as part of wider tools meant to improve app development. TestFlight for the Mac is part of a wider set of tools for developers, including Xcode Cloud, which offers "continuous integration and delivery cloud service designed specifically for Apple developers." With ...
wwdc 2021 details

WWDC is One Week Away: Five Steps to Get Ready

Monday May 31, 2021 11:16 am PDT by
We're just one week away from WWDC 2021, which kicks off next Monday, June 7 and runs through Friday, June 11. Apple's annual developers conference will be an all-digital affair for the second year in a row due to public health measures, but it will still be an exciting week, with Apple expected to unveil iOS 15 and other new software updates. Ahead of WWDC, we've put together five steps to...
appstore

Apple Says iOS Developers Have 'Multiple' Ways of Reaching Users and Are 'Far From Limited' to Using Only the App Store

Thursday March 25, 2021 5:18 am PDT by
As it faces a barrage of probes and investigations regarding the App Store and the distribution of apps on its devices, Apple has told Australia's consumer watchdog that developers have "multiple" ways to reach iOS users and claims that they are "far from limited" to simply using the App Store. In a new filing (via ZDnet) responding to concerns from the Australian Competition & Consumer...
app store safe secure

Study Finds Up to 2% of Top 1,000 Paid Apps on App Store Were Scams

Monday June 7, 2021 6:33 am PDT by
Apple has used its app review process as a bulwark in recent legal assaults on its App Store policy, and put particular emphasis on the security benefits for iOS users when buying apps. However, an investigation has found that almost 2% of the top 1,000 highest grossing apps on a given day were some sort of scam. According to The Washington Post, which conducted the investigation, scam apps...
app store blue banner

Judge Grills Tim Cook on App Store Policies as End of of Epic Games v. Apple Trial Approaches

Friday May 21, 2021 12:48 pm PDT by
Apple CEO Tim Cook testified in the Epic Games v. Apple trial today, and some of the final questioning by Judge Yvonne Gonzalez-Rogers did not appear to go in Apple's favor. She spent several minutes grilling Cook on Apple's App Store policies and some of the statements that he made. "You said you want to give users control, so what's the problem with allowing users to have a cheaper option...
apple developer app feature

Apple Again Extends Deadline Requiring Apps Offering Virtual Group Events to Use In-App Purchases

Thursday April 22, 2021 11:11 am PDT by
Last fall, Apple changed its App Store rules around in-app purchases for realtime experiences, and the guidelines technically require apps that offer virtual events to more than a single person to use in-app purchases. Apple is not yet enforcing that rule, however, and has once again extended the timeline of when in-app purchases will need to be implemented. Apple has set the new deadline...
iOS 15 icon mock in article

Public Betas of iOS 15, iPadOS 15, macOS Monterey, tvOS 15 and watchOS 8 Coming in July

Monday June 7, 2021 12:09 pm PDT by
Apple is providing the new iOS 15, macOS Monterey, tvOS 15, and watchOS 8 updates to developers for testing purposes as of today, giving Apple a chance to work out initial bugs in the software. After a few weeks of testing, Apple plans to provide the betas to its public beta testing group as well, with Apple CEO Tim Cook confirming plans to release the new software to public beta testers at...
app store blue banner

App Store Ecosystem Responsible for Estimated $643 Billion in Billings and Sales in 2020, According to Apple-Commissioned Study

Wednesday June 2, 2021 10:00 am PDT by
The App Store ecosystem facilitated an estimated $643 billion in billings and sales in 2020, an increase of 24 percent year-over-year, according to an Apple-commissioned study done by Analysis Group economists. [PDF] The study, "A Global Perspective on the Apple App Store Ecosystem," comes as Apple awaits a decision in its ongoing trial with Epic Games, much of which focused on App Store...
epic iap feature 3

Tim Cook Says App Store Would Become a 'Flea Market' if Third-Party Payment Systems Were Allowed

Monday April 12, 2021 9:41 am PDT by
In a recent interview with the Toronto Star, Apple CEO Tim Cook spoke about a wide variety of topics, ranging from App Tracking Transparency to Apple's ongoing legal battle over App Store policies with Fortnite creator Epic Games. Notably, Cook said that Epic Games' desire for Apple to let developers offer their own payment systems in apps "would make the App Store a flea market":At the...
fortnite apple featured

Apple's Phil Schiller Takes the Stand in Epic Games v. Apple Trial

Monday May 17, 2021 12:17 pm PDT by
Today marked the kickoff of the third week of the Epic Games v. Apple trial, and this week is notable because Epic has finished with its witnesses and we're now transitioning to Apple witnesses, including notable Apple executives. Apple Fellow and former marketing chief Phil Schiller, who is in charge of the App Store, took the stand today. Schiller will testify for up to nine hours, and...