In App Purchase Implementation in Native iOS
Posted By : Ashish Tyagi | 23-Jul-2014
In App purchase is one of good feature of Apple and widely used to earn some extra money by selling a feature inside our applications. You can use in-app purchase for free app also by using StoreKit Framework.
There are four type of in-App purchase :
1. Consumable (user can buy more than once a feature)
2. Non-Consumable(user buy once a feature)
3. Auto-Renewable Subscriptions (Allow users to purchase dynamic content(like Magazine,NewsPaper etc) for limited time duration and auto-renewal subscription)
4. Free Subscriptions,Non-Renewing Subscriptions(This feature is same as auto-renewal but In That case developers have to managed Subscriptions time duration).
Important point :
In-App Purchase feature is used to sell content, app functionality, services and not used for Real-world goods and services and Unsuitable content ( like pornography ,hate speech, or defamation) according to apple guideline
Configuration on iTunes for in-App purchase Feature :
Step 4.) You have fill up some detail about in-app purchase feature.
c.) Check “Clear for Sale” Otherwise you unable to test in-app purchase feature.
d.) Select a Price Tier for your in-App purchase feature. You can also select free as a Tier.
Step 5.) Now, You have to add an language and upload a screenshot
a.) Display Name (This name will be shown in App Store and in-app purchase alert box.
b.) Screenshot for Review Take a screenshot of that screen where in-app purchase is shown
Retrieving Product list from iTunes :
Step 1.) Expand “Link Binaries with Libraries”. Select the “+” button, and add StoreKit framework.
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Ashish Tyagi
Ashish is a iPhone application developer with experience in Objective-C , Titanium and Phonegap frameworks. Ashish loves watching movies in his free time.