Revenue Validation Credentials
Optional Google Play and App Store credentials let Attriax validate purchases after your app records revenue events.
Tracking versus validation
Do not block revenue tracking on validation setup.
Revenue tracking
Call recordPurchase and recordAdRevenue from real purchase and ad callbacks. This works without store validation credentials.
Receipt validation
Add store credentials only when you want Attriax to verify purchases against Google Play or the App Store Server API.
Google Play
Use a service account that has access to the app in Google Play Console.
- Collect the package name used for the Play listing.
- Create or choose a Google Cloud service account and grant the required Play Console API access.
- Generate the service account JSON and paste it into Attriax Revenue settings.
- Keep the JSON private; Attriax stores it encrypted and does not show it again.
App Store
Use an App Store Server API key from App Store Connect.
- Collect the bundle ID and choose production or sandbox validation behavior.
- Create an App Store Server API key and record the issuer ID, key ID, and .p8 private key.
- Paste the values into Attriax Revenue settings. Do not commit the .p8 file.