Start free
Guides

Testing in-app purchases: sandbox, StoreKit files and license testers

How to test subscriptions on iOS and Android before real money is involved — and what to check before every release.

Appwind Pay team· November 30, 2026· 1 min read

You can't ship subscriptions with confidence without buying them yourself, many times. Both stores give you ways to do it without real money; each has its own quirks.

iOS: three ways to test

  • Sandbox accounts. Create testers in App Store Connect (Users and Access → Sandbox) and sign in under Settings → App Store on the device. Renewals are sped up — a month passes in minutes — and stop after a set number of renewals. TestFlight builds use the sandbox too.
  • StoreKit configuration files. Xcode can simulate products locally, which is great for building UI quickly. These purchases aren't signed by Apple's servers, so a backend that verifies purchases won't accept them unless you deliberately allow it for local testing.
  • TestFlight. Closest to production for your testers, still free.

Android: license testers and test tracks

Add testers under Settings → License testing in Play Console and install the app from an internal testing track. Test subscriptions renew every few minutes. Google provides test payment methods that always approve, always decline, or approve slowly, so you can see pending purchases and billing problems.

New service accounts can take a while before Google accepts their API calls — set them up well before launch.

What to check before every release

  1. Buy a subscription → the customer appears with the entitlement active.
  2. Cancel in the store's subscription settings → access stays until the end of the period.
  3. Let it expire → access ends.
  4. Restore after reinstalling, and on a second device.
  5. Log in on another device → same access.
  6. Your server receives the webhook for each step.

Keep test data out of your numbers. Appwind Pay marks sandbox purchases and leaves them out of revenue and charts, so you can test on a live project.

The full list, including known store issues, is in Testing purchases.

Run your subscriptions on Appwind Pay

Free until your apps earn $10k a month. Paywalls, onboarding, charts and webhooks included.

Start free