The stores
Set up the App Store
About 15 minutes the first time. You need the Account Holder or Admin role in App Store Connect for the first step; the rest works with App Manager.
1Sign the Paid Apps agreement
- Open App Store Connect, then Business.
- Sign the Paid Apps agreement and fill in your bank account and tax forms.
2Turn on In-App Purchase for the app
In Xcode, select your app target, then Signing and Capabilities, + Capability, In-App Purchase. Capacitor, React Native and Flutter apps do this in their ios project too.
3Create your products
One-off purchases
- Choose your app, then Monetization, In-App Purchases, and +.
- Pick the type: Consumable (coins, credits: bought again and again) or Non-Consumable (unlock it once, keep it forever).
- Give it a reference name and a Product ID, for example
coins_100. Your code uses this ID, and it can never be reused. - Set a price, add a display name and description under App Store Localization, and add a review screenshot of where it’s sold in your app.
Subscriptions
- Under Monetization, choose Subscriptions and create a subscription group (for example “Pro”). A person can only have one subscription per group at a time.
- Add a subscription to the group with its Product ID (for example
pro_monthly), the duration, a price and a localisation.
4Point Apple’s notifications at us
This is how Vend16 hears about renewals, cancellations and refunds while your app is closed.
- Choose your app, then App Information (under General).
- Find App Store Server Notifications.
- Set the Production Server URL to your app’s Apple notifications URL, from your app’s Setup page in Vend16. It looks like this:
https://vend16.com/v1/notifications/apple/app_your_app_id- Choose Version 2, and save.
- Do the same for the Sandbox Server URL, with the same address.
That’s all for Apple. There’s no Apple API key to upload: every purchase is signed by Apple, and Vend16 checks the signature against Apple’s own certificates. Make sure your iOS bundle ID is saved on your app’s Setup page, so we can check each purchase is yours.
5Add a sandbox tester
- Go to Users and Access, then Sandbox, then Test Accounts, and add one with an email address that isn’t already an Apple Account.
- On the test iPhone: Settings, Developer (or App Store), Sandbox Account, and sign in with it. TestFlight builds use your own Apple Account and are never charged.
Next: make a test purchase.
Stuck? Email hello@spruik.co and a real person replies.