Need to add StoreKit framework for in-app purchase, as apple review team is not accepting the app without in-app purchases.
We were not planning to add any payment method, but now apple team is not accepting the app without storekit framework. That's why we need to implement in-app purchase using Storekit framework in the app, and upload on both iOS and Play store.
Currently, the app gets all data from website (built using Moodle LMS). Website has all the APIs, eg: fetching all the courses details and enrolling user in the course.
There can be multiple subscription plans.
This is the user journey to be implemented for in-app purchase:
1. User registers and login in his account.
2. User gets to choose from all the courses available(we can fetch all the data of courses using API)
3. Selects course and purchase the course
4. Gets enrolled in the course for a limited time (again we have API to enroll user for specific time limit)
Note: You just need to do tasks from step 2 to 4.