VoidhashDocs
DevelopersHelp centerGuidesAPI reference
Dashboard
Help center
Get started
Get access to Studio
Find your way around Studio
Glossary
Files and bots
Files and boards
Bots
Analytics
Analytics overview
Reports
Chart reference
Metric definitions
Insights and dashboards
Query with VoidQL
Alerts
Check your data
Ads
Ad measurement
Connect Meta Ads
Send purchases to Meta
Ads reports
People
Find and help a person
Refunds and cancellations
Products
Set up products and perks
Paywalls
Design a paywall
Prices and buttons
Design for every device
Onboarding flows
Translate a paywall
Fonts and images
Paywall components
Build and deploy
Paywall locations
A/B testing
Feature flags
A/B tests
Automations
Automations
Push notifications
Settings
Payment providers
Manage projects and teams
Members and roles
SSO and directory sync
Notices
Plans and billing
Audit log
Your account
Help
FAQ
Troubleshooting
Payment providers
Apple App Store
Connect the App Store
Where to find
Find your bundle ID
Find your App Apple ID
Create an In-App Purchase key
Find App Store Connect API values
Configure server notifications
Forward notifications
Small Business Program dates
StoreKit subscription offer key
StoreKit testing certificate
Google Play
Connect Google Play
Where to find
Find your package name
Create a service account key
Set up real-time notifications
Forward notifications
Stripe
Connect Stripe
Stripe purchases and access

Connect the App Store

Connect App Store Connect so Voidhash verifies StoreKit purchases and receives subscription updates.

Connecting the App Store lets Voidhash verify StoreKit transactions with Apple, receive App Store Server Notifications for renewals, cancellations and refunds, sign promotional offers, and import your product catalog. Each field below has a Where to find? link in Studio that opens the matching step-by-step guide.

A Where to find? sheet open in Studio next to the App Store form, with steps to find the App bundle ID

Before you connect

In App Store Connect, check that:

  • The Paid Apps Agreement is active, with banking and tax details complete.
  • The products you sell exist: subscriptions, one-time purchases or consumables.
  • You have the Account Holder or Admin role. Only they can create the keys below; an App Manager can do the other steps.

Configure the provider

Open Settings → Payment providers and click Set up next to Apple App Store. Fill in the tabs in order, then click Save changes. Studio asks whether to enable the provider; it processes purchases only while enabled.

The App Store provider in Studio: a tab per setting, with the App details form open

Add app details

On App details, enter the App bundle ID, which must match the bundle identifier in Xcode, and the numeric App Apple ID.

Find the bundle ID · Find the App Apple ID

Add the In-App Purchase key

On In-app purchase key, enter the Issuer ID and Key ID, and upload the .p8 file. Voidhash uses this key to verify transactions with the App Store Server API and to sign promotional offers.

Create an In-App Purchase key

Add the App Store Connect API key

On App Store Connect API, enter the team key's Issuer ID and Key ID, upload its .p8 file, and enter your Vendor number. Voidhash uses this key to import your products and keep their metadata in sync.

Find the App Store Connect API values

Point server notifications at Voidhash

On Apple Server notification, copy the Apple Server Notification URL. In App Store Connect, set it as both the Production Server URL and the Sandbox Server URL, each with Version 2.

Configure Apple Server Notifications

Optional settings

TabSettingUse it when
Apple Server notificationApple Server Notification forwarding URLYour backend needs its own copy of each verified notification. See Forward notifications.
Apple Small Business ProgramStart date, optional End dateYour account is in the program, so revenue uses the reduced commission. See Small Business Program dates.
DevelopmentStoreKit Subscription Offer key, StoreKit testing frameworkOptional files from an Xcode StoreKit configuration file; Voidhash stores them but doesn't use them. See Export the offer key and Export the testing certificate.
ConfigurationTrack purchases from Apple Server NotificationsOn by default. Turn it off to track only purchases your app reported through the SDK.

With Track purchases from Apple Server Notifications on, a notification about a purchase Voidhash hasn't seen yet creates it, for example one made in an app version without the SDK. With it off, such notifications wait until the SDK reports the purchase, and are applied then.

Connect products

Open each Voidhash product and add its App Store Product ID under Payment providers, or import the catalog. Product IDs can't be changed in App Store Connect, so copy them exactly. See Link store products.

To sell a promotional offer, add it under Promotional offers on the mapping, with the offer ID your paywalls use and its identifier in App Store Connect.

Non-renewing subscriptions

Apple doesn't record when a non-renewing subscription ends, so Voidhash takes its length from the product you map it to:

  • A subscription product with a billing duration. Each purchase grants access for that duration from the moment it was bought. A purchase made while earlier access still runs starts its own period; it doesn't extend the earlier one.
  • A one-time or consumable product. The purchase is recorded like any purchase of that kind. A one-time product grants access that doesn't expire.

A refund or revocation from Apple ends the access.

Verify the connection

On Products → Products, click Import products, then Refresh. The App Store's card lists the products Voidhash read with the saved keys, or the error that stopped it. Then make a test purchase.

Test purchases

Sandbox and TestFlight purchases are free and recorded in the Sandbox environment.

  1. In App Store Connect, create a Sandbox Apple Account under Users and Access → Sandbox.
  2. On the device, sign in to it under Settings → Developer → Sandbox Apple Account, or install the build from TestFlight, which uses the sandbox automatically.
  3. Buy in the app, and check that the person holds the product's perk.
  4. In Studio, choose Sandbox in the project switcher to see the purchase.

Sandbox subscriptions renew on an accelerated schedule, so you can watch renewals and expiry within minutes. To start over, clear the sandbox account's purchase history in App Store Connect. A product missing from the app usually hasn't reached the sandbox yet; new products and price changes can take a while, so wait and retry.

By default, sandbox purchases also unlock access in your App Store build, so App Review can open what it buys. See See test purchases in Studio.

Purchases made against an Xcode StoreKit configuration file aren't sent to Voidhash, because Apple can't verify them. Test in the sandbox, or have developers use development mode (developer docs).

Next steps

  • Link store products
  • Payment providers
  • Make and restore purchases in Swift (developer docs)

Still stuck? Check Troubleshooting, ask us on Discord, or email support@voidhash.com on a paid plan.

Something wrong or missing on this page? Tell us by email or on Discord.

PreviousPayment providersNextFind your bundle ID

On this page

Before you connectConfigure the providerAdd app detailsAdd the In-App Purchase keyAdd the App Store Connect API keyPoint server notifications at VoidhashOptional settingsConnect productsNon-renewing subscriptionsVerify the connectionTest purchasesNext steps