I am creating a multi platform e-learning app, where teachers create courses by uploading videos to my website. Students can purchase these courses via the website, iOS, and Android.

However, since digital content for mobile can only be purchased through the App Store and Play Store, I have to programmatically create a new In-App Purchase item for every new course that a teacher uploads. Google has a REST API that lets me do this without hassle but I have not found a solution to do this for Apple.

I have gone through all of Apple's documentation regarding In-App Purchases

here: https://help.apple.com/app-store-connect/#/devae49fb316

here: https://help.apple.com/asc/appsspec/#/itcbce96a8e7

here: https://developer.apple.com/documentation/appstoreconnectapi/apps

and here: https://help.apple.com/itc/transporteruserguide/en.lproj/static.html

I have also scoured the forums and no luck there either. I don't understand. What am I missing? How do other platforms like Udemy do this?

Any help or insights would be greatly appreciated.

  • 1
    One approach would be to use Consumable "tokens" ... so a user would purchase access to a course for x-number of tokens. You might also want to take a look at Fastlane/Spaceship ... I don't know anything about it, but quick searching found a reference to it for a similar question.
    – DonMag
    Mar 15 at 13:14
  • spaceship seems very promising, I'll try it out, thank you!
    – Eric
    Mar 16 at 5:09


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.