iOS In App Purchase
- Create app and products on App store.
- Fill tax, bank and agreements(free and paid).
- App side work. A. Use StoreKit (It will create local environment, no need to create sandbox account for this and you cannot verify receipt of this on server.) B. Old way.
- Create sandbox account on itunes connect.
- Query all purchase able items.
- Purchase item (you will get popup to enter email and password, enter credentials of sandbox account)
- send receipt data to server to validate on server.
- Get receipt data and validate using iOS API.