ASO glossary
Sandbox Testing for In-App Purchases
Sandbox testing is Apple's environment for testing In-App Purchases and Apple Pay transactions using test accounts without real charges. It uses the App Store's infrastructure and returns transactions as if payments were successfully processed.
Updated
What you can test
| Scenario | Detail from Apple |
|---|---|
| App Store country or region | Same sandbox account across any of the 175 storefronts |
| Subscription events | Renewals, state changes, interrupted purchases, winback offers and contingent pricing without waiting a full period |
| App Store Server Notifications | That your server receives sandbox notifications |
| Family Sharing | Sandbox Test Families with up to five test members |
| Apple Pay | Test credit and debit cards |
| Ask to Buy | Route purchases through the flow, then approve or decline |
Getting started
- Create Sandbox Apple Accounts in App Store Connect.
- Sign in with them on devices running a development-signed build, with Developer Mode on.
- Make purchases and watch your app and server.
Changes you make to product metadata can take up to one hour to appear in the sandbox.
Alternatives
StoreKit Testing in Xcode is a local environment that needs no connection to App Store servers; Apple suggests it to test before you configure purchases in App Store Connect. TestFlight is for beta distribution to testers, a different job.
What to test first
Cover introductory offers, win-back offers and server notifications before release, because they involve both App Store Connect settings and your code.
Next step
After purchases work, make sure the page that sells them is findable. Start with the App Store keyword research guide.
Questions
- Does the sandbox charge real money?
- No. It returns transactions as if payments were processed, using test accounts, without incurring charges.
- Can I test without a network?
- Yes, with StoreKit Testing in Xcode, a local environment that does not need a connection to App Store servers.
Sources
- Apple: developer.apple.com/help/app-store-connect/test-in-app-purchases/overview-of-testing-in-sandbox (checked November 24, 2026)
- Apple: developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/enter-server-urls-for-app-store-server-notifications (checked November 24, 2026)
- Apple: developer.apple.com/help/app-store-connect/manage-subscriptions/enable-billing-grace-period-for-auto-renewable-subscriptions (checked November 24, 2026)
- Apple: developer.apple.com/testflight (checked November 20, 2026)
Do this for every country, in minutes