I have an app that sell courses as video lectures written in flutter. My app is rejected from Apple Store because I suppose to use in-app purchases instead of an external payment method. Each course has its own price. I’m a little bit rusty about in-app purchases. There is a lot term here with revenuecat: products, entitlements, offerings. Do I need these all?
- Some courses are non-consumable and has lifetime access.
- Some courses are subscriptions and has a one time limit.
I have a course detail page. When I enter here, I want to check if I bought this course. If yes, I’ll show all videos. If not I want to show a buy button. The prices, id and type(subscription or non-consumable) will come from my rest api. Should I create product id for each course with these information like $courseId1_tier_1, $courseId2_tier_3, $courseId3_tier_1 or I should create product ids in apple and in google and then share the same products ids with rest and rest api should return product id when course detail is fetched with that info I should fetch if the product id is purchased or subscribed?
How do I fetch a single product with id? (couldn’t find in the apis)
Do I have to create entitlement or offerings for the scenarios up there?
Best answer by jazmineView original