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.

Popular Stories

maxresdefault

Apple's AirPods Pro 2 vs. Samsung's Galaxy Buds3 Pro

Saturday July 13, 2024 8:00 am PDT by
Samsung this week introduced its latest earbuds, the Galaxy Buds3 Pro, which look quite a bit like Apple's AirPods Pro 2. Given the similarities, we thought we'd compare Samsung's new earbuds to the AirPods Pro. Subscribe to the MacRumors YouTube channel for more videos. Design wise, you could potentially mistake Samsung's Galaxy Buds3 Pro for the AirPods Pro. The Buds3 Pro have the same...
iPhone 16 Pro Sizes Feature

iPhone 16 Series Is Just Two Months Away: Everything We Know

Monday July 15, 2024 4:44 am PDT by
Apple typically releases its new iPhone series around mid-September, which means we are about two months out from the launch of the iPhone 16. Like the iPhone 15 series, this year's lineup is expected to stick with four models – iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max – although there are plenty of design differences and new features to take into account. To bring ...
iPhone 15 Pro Cameras

iPhone 17 Pro Max Will Be First Model to Feature Three 48MP Cameras

Thursday July 11, 2024 12:20 am PDT by
Next year's iPhone 17 Pro Max will feature an upgraded 48-megapixel Tetraprism camera for enhanced photo quality and zoom functionality, according to Apple analyst Ming-Chi Kuo. In his n-iphone-tetraprism-upgrade-ca62dd37e364">latest investor note published to Medium, Kuo said the key specification change would be a 1/2.6" 48MP CIS sensor, up from the 1/3.1" 12MP sensor expected to be used...
Beyond iPhone 13 Better Blue Face ID Single Camera Hole

10 Reasons to Wait for Next Year's iPhone 17

Monday July 8, 2024 5:00 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we sometimes get rumored feature leaks so far ahead of launch. The iPhone 17 series is no different – already we have some idea of what to expect from Apple's 2025 smartphone lineup. If you plan to skip...
primeday2020 feature3

The Best Early Prime Day Deals on Apple Products

Saturday July 13, 2024 6:23 am PDT by
Amazon is soon to be back with its annual summertime Prime Day event, lasting for just two days from July 16-17. As it does every year, Prime Day offers shoppers a huge selection of deals across Amazon's storefront, and there are already many deals you can get on sale ahead of the event. Note: MacRumors is an affiliate partner with Amazon. When you click a link and make a purchase, we may...

Top Rated Comments

Baymowe335 Avatar
50 months ago
Not for Epic though.
Score: 10 Votes (Like | Disagree)
PickUrPoison Avatar
50 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
50 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
50 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
50 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)