Skip to content

Instantly share code, notes, and snippets.

@yogeshpaliyal
Created December 1, 2021 03:09
Show Gist options
  • Save yogeshpaliyal/30a428413a69c0ca9c53d08f0e3bb327 to your computer and use it in GitHub Desktop.
Save yogeshpaliyal/30a428413a69c0ca9c53d08f0e3bb327 to your computer and use it in GitHub Desktop.

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