Skip to content

Instantly share code, notes, and snippets.

@yogeshpaliyal
Created December 1, 2021 03:09
Embed
What would you like to do?

iOS In App Purchase

  1. Create app and products on App store.
  2. Fill tax, bank and agreements(free and paid).
  3. 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.

On server

  1. Get receipt data and validate using iOS API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment