This video will walk you through the process of getting started with In App purchases in iOS, using Swift.
View the course here: https://videos.raywenderlich.com/courses/31-in-app-purchase/lessons/1
raywenderlich.com is a website focused on developing high quality programming tutorials. Our goal is to take the coolest and most challenging topics and make them easy for everyone to learn – so we can all make amazing apps.
Update course: https://videos.raywenderlich.com/courses/58-beginning-spritekit/lessons/1
We are also focused on developing a strong community. Our goal is to help each other reach our dreams through friendship and cooperation. As you can see below, a bunch of us have joined forces to make this happen: authors, editors, subject matter experts, app reviewers, and most importantly our amazing readers!
You can use in-app purchases to sell a variety of content, including subscriptions, new features, and services. There are four in-app purchase types you can offer.
Users can purchase different types of consumables, such as lives or gems in a game, to further their progress through an app. Consumable in-app purchases are used once, are depleted, and can be purchased again.
Users can purchase non-consumable, premium features within an app. Non-consumables are purchased once and do not expire, such as additional filters in a photo app. Apple can host content associated with your non-consumable in-app purchases.
Users can purchase access to services or periodically updated content, such as monthly access to cloud storage or a weekly subscription to a magazine. Users are charged on a recurring basis until they decide to cancel.
Users can purchase access to services or content for a limited duration, such as a season pass to streaming content. This type of subscription does not renew automatically, so users need to renew each time.
Create Your In-App Purchases in iTunes Connect
Configure your in-app purchases in iTunes Connect, and include details such as name, pricing, and description that highlights the features and functionality of your in-app purchase. You can also create and maintain your in-app purchases using XML.
Design Your In-App Purchase Store
The user interface for your store should fit well with the rest of your app and effectively showcase your products.
Implement Your In-App Purchases
Use the StoreKit Framework to embed the store into your app and securely process purchases of content and services. Make sure to complete the steps in the implementation checklist.
Receipts provide a valuable record of the sale. Consider using receipt validation code to protect your content and prevent unauthorized purchases.
Use the Apple sandbox testing environment to test your in-app purchases without incurring charges.
Test the Full User Experience
Use TestFlight to gain valuable feedback on your app and in-app purchases from a wider audience before releasing your app on the App Store. Invite users on your team in iTunes Connect, and up to external 10,000 testers using just their email address. All in-app purchases are free during the beta testing period, and will not carry over when the testing period is over.
Submit Your In-App Purchases for Review
Once you’ve completed testing, verify that you’ve followed the App Review Guidelines and implementation checklist, then submit using iTunes Connect.
Promote Your In-App Purchases on the App Store
With iOS 11, you can choose to promote up to 20 in-app purchases at a time on your product page, increasing discoverability for content previously only found inside your app. Users can browse in-app purchases directly on the App Store and start a purchase even before downloading your app.
Distribute Promo Codes
Give press and influencers early access to your app’s in-app purchases with promo codes from iTunes Connect. You can give away up to 100 promo codes for each in-app purchase item, up to a maximum of 1,000 codes per app.