Generate an In-App Purchase key
In App Store Connect, open Users and Access, then go to Integrations and select In-App Purchase. Generate a new key, or use the plus button beside Active if keys already exist.
Name the key, create it, and download the generated .p8 file immediately. Apple only lets you download this key once.
revfox In-App Purchase Key
Key ID: ABC123DEFG
You can use one In-App Purchase key for every App Store app in the same App Store Connect account.
Upload the key to revfox
In the revfox panel, select the project and App Store app that should use the key. Open the app settings, then choose In-App Purchase key configuration.
Upload the .p8 file you downloaded from App Store Connect. Keep the original file secure outside source control.
Upload .p8 key
Drop the App Store Connect key file here.
Add the issuer ID
Copy the issuer ID shown in App Store Connect under Users and Access, Integrations, In-App Purchase. Paste it into the revfox issuer ID field for the same app.
If App Store Connect does not show an issuer ID, create an App Store Connect API key first. The issuer ID is shared across App Store Connect API keys and In-App Purchase keys.
Save the app settings after the key file and issuer ID are both present.
Validate the credential
After saving, run credential validation from the revfox app settings page. A valid key should be active in App Store Connect, match the app bundle ID, and use the correct issuer ID.
When validation passes, revfox can use the key for App Store purchase verification and StoreKit 2 transaction details.
Troubleshooting
- Confirm the uploaded
.p8file is the original file from App Store Connect. - Check that the bundle ID in revfox exactly matches App Store Connect capitalization.
- Verify the issuer ID is copied from the same App Store Connect account.
- If the key was revoked, generate and upload a new active In-App Purchase key.