Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

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:

share|improve this answer
    
probably he need to emebed the framework inside a Unity3D plugin, is that right? –  Heisenbug Feb 20 '13 at 21:28
    
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. –  karsnen Feb 20 '13 at 21:36
    
@karsnen I added a few additional links, including Prime31's plugin, which is pretty popular. –  Cameron Fredman Feb 20 '13 at 22:22
    
Cameron FredMan -> Thank you very much. –  karsnen Mar 5 '13 at 20:27
    
@karsnen sure thing. Glad you found it useful. :) –  Cameron Fredman Mar 5 '13 at 20:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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