How to add apple in-app purchase?

This guide will show you how to add apple in-app purchase to you project.
1.) go to you Apple Developer Account https://developer.apple.com/account/
2.) Click -> "Certificates, Identifiers & Profiles"
How to add apple in-app purchase?
3.) See next screenshot
How to add apple in-app purchase?
4.) Enter "App name" and "Bundle ID" and Click -> Continue
How to add apple in-app purchase?
5.) After creating iOS APP, we have to go to iTunes Connect https: //itunesconnect.apple.com/
6.) If you do not specify personal information, bank account, etc - do it! See next 2 screenshots:
How to add apple in-app purchase? How to add apple in-app purchase?
7.) go to iTunes Connect https: //itunesconnect.apple.com/ and Click:
How to add apple in-app purchase?
8.) Add users for purchases testing
How to add apple in-app purchase?
9.) go to iTunes Connect https: //itunesconnect.apple.com/ and Click:
How to add apple in-app purchase?
10.) Add your application:
How to add apple in-app purchase?
11.) See screenshot. Bundle ID - select previous created project in step 4
How to add apple in-app purchase?
12.) Steps 13, 14, 15 - Run 3 times. It is necessary to establish three in-app purchases - to purchase 30, 70 and 120 credits.
To do this, mount a ProductsIds (!!! com.yousite.app - you Bundle ID !!!):
com.yousite.app.low - for buy 30 credits
com.yousite.app.normal - for buy 70 credits
com.yousite.app.highs - for buy 120 credits
13.) Add in-app Purchases
How to add apple in-app purchase?
14.) Select -> Consumable
How to add apple in-app purchase?
15.) Fill in all fields. The example in the screenshot:
How to add apple in-app purchase?
16.) Open Project in XCode and in file BalanceController.swift change you ProductsIds
How to add apple in-app purchase?
17.) Set to project you Bundle Id from step 4
How to add apple in-app purchase?
18.) And see next screenshot :)
How to add apple in-app purchase?