This documentation relates to previous versions of Titanium.

To see the latest documentation, visit

This space has been migrated to and will be removed from the Appcelerator wiki on August 9th, 2018

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


If you are looking to implement in-app purchases into your iOS application, you will need to download and implement the StoreKit module.  The following is a step-by-step guide to walk you through that process.

Version Information

Ti.Storekit Version (latest here)

Install the StoreKit

  • Download the StoreKit Module from the marketplace
  • Create a Mobile Titanium Project
  • Unzip the ti.storekit-iphone-14.13.zipDrop the ti.storekit directory in either to ~/Library/Application Support/Titanium/modules/iphone Create a Mobile Titanium Project(globally) or in your project root (locally)
  • Double Check: It should now be in ~/Library/Application Support/Titanium/modules/iphone/ti.storekit/4.3.0 or <project>/modules/iphone/ti.storekit/4.3.0
  • Modify the tiapp.xml file to include:

    Code Block
         <module version="1.1">ti.<module>ti.storekit</module>
  • Replace the app.js file in the resources directory with the one located at ~/Library/Application Support/Titanium/modules/iphone/ti.storekit/4.3.0


    /example/app.js or <project>/modules/iphone/ti.storekit/4.3.0/example/app.js

Create a Test Application


Add Products and Test App

  • In the app.js file add your products to:

    Code Block
    Ti.Storekit.requestProducts([ 'com.appcelerator.StoreKit.product1', 'com.appcelerator.StoreKit.product2' ])
  • Install your provisioning file and install your app to device. (Simulator will not work)
  • You should be able to make an In-App Purchase using your Test User.