Purple App Experience
Purchases

iOS: Setup purchase validation on Account level

8min

Purple Manager



Summary

If you want to offer in-app purchases in your Purple DS iOS apps, you need to establish a connection between Purple Manager and the Apple App Store. This How-to guide described the steps to set up the purchase validation per account via Master Shared Secret. You can alternatively set it up on app level for only one single app.

You learn how to set up the purchase validation for the Apple App Store in Purple Manager in order to make it possible to enable in-app purchases for your iOS app. In order to do so, you will generate a shared secret in the Apple App store and store it in the Purple Manager.

If you want to apply this change for your Purple App, you have to rebuild the app. It demands a new submit in the apps store, to make it visible to your users.



Preconditions

  • Have an app created in Purple Manager
  • Have at least 'App Admin' role in Purple Manager
  • Have an app created in App Store Connect
  • Have at least 'Account holder' or 'Admin' role in App Store Connect


How-to guide

1. Go to App Store Connect https://appstoreconnect.apple.com/

2. Click on 'Users and Access'

Click on 'Users and Access'


3. Click on 'Shared Secret'

Click on 'Shared Secret'


4. Click on 'Generate'

Click on 'Generate'


5. Copy the code from the field 'SHARED SECRET'

Copy the code from the field 'SHARED SECRET'


6. Go to Purple Manager

7. Go to 'Teams' and click on your team

click on your team


8. Click on 'Settings'

Click on 'Settings'


9. Go to 'iTunes shared secret' and paste your previously copied code into the field

 paste your previously copied code into the field


10. Click on 'Save'

Click on 'Save'


11. Go to 'Teams' → 'Overview' and make sure, that the text next to 'iTunes shared secret' says 'Stored'

the text next to 'iTunes shared secret' says 'Stored'