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
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.