I am using Unity and I developing an app for iOS. How do I implement in-app purchases that work world-wide?


Apple provides a framework for in-app purchasing in StoreKit. You can read the docs on it here. From their documentation:

Store Kit communicates with the App Store on behalf of your application. Your application uses Store Kit to receive localized information from the App Store about products you want to offer in your application. Your application displays this information to users and allows them to purchase items. When a user wants to purchase an item, your app calls Store Kit to collect payment from the user. Figure 1-1 shows the basic store model.

enter image description here

How to implement in-app purchasing is more involved than the format here permits, but the general areas that you're going to need to learn about are:

  • Retrieving Product Information from the App Store
  • Making a Purchase from the App Store
  • Adding a Store to Your Application
  • Verifying Store Receipts
  • Testing your store
  • Auto-renewable subscriptions (possibly).

Here are some additional resources you may want to look at:

  • \$\begingroup\$ probably he need to emebed the framework inside a Unity3D plugin, is that right? \$\endgroup\$ – Heisenbug Feb 20 '13 at 21:28
  • \$\begingroup\$ First I would like to thank Cameron. Thank you. Second, yes I need a Unity3D plugin or a framework to work within Unity like Heisenbug is stating. \$\endgroup\$ – karsnen Feb 20 '13 at 21:36
  • \$\begingroup\$ @karsnen I added a few additional links, including Prime31's plugin, which is pretty popular. \$\endgroup\$ – Cameron Fredman Feb 20 '13 at 22:22
  • \$\begingroup\$ @karsnen sure thing. Glad you found it useful. :) \$\endgroup\$ – Cameron Fredman Mar 5 '13 at 20:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.