Skip to main content
Samsung Developer Program

Develop Galaxy Watch In-App Purchase Items

 

Your watch face apps and watch apps can sell in-app items after you integrate Galaxy Watch In-App Purchase (IAP) functionality through IAP web APIs or IAP native APIs. Galaxy Watch IAP is supported by the Tizen platform v2.3.2 and later.  

There are many ways you can design and develop your app to support the sale of IAP in-app items. Below is a straightforward way that demonstrates the key steps using web IAP API calls.

  1. Get a commercial Seller Office account.
  2. Register your app and its in-app items with Samsung Seller Office and get them certified.
    Note: To test in-app item purchases, your app and items only need to be registered. They do not need to be certified.
  3. Connect your app's watch with an Android smartphone.
  4. Support and process in-app item purchase transactions: 
     

     

     

    Gear_InAppItem_Purchase_UI.png

    In your app:

    1. Present in-app items to your users:
    • Retrieve all items currently available for purchase (including their current local price) by making agetItemListAPI call.
    • Retrieve the items the user has already purchased to make appropriate decisions by making agetPurchasedItemListAPI call.
    • Use the available and user-purchased items information
      (provided byGetItemSuccessCallback) as needed.
    • Enable users to select and initiate a purchase.
       
    1. After the user initiates the purchase of an in-app item, start purchase processing by making astartPaymentclient API call.
    IAP_Purchase_Flow_2.png

    IAP manages the item purchase:

    1. Gets current item information, such as pricing.
    2. In the Android smartphone connected to the watch:
    • Presents purchase information and options to the user.
    • Gets purchase authorization and payment from the user.
    1. Notifies your app of the results of the purchase transaction.
    Gear_App_Uses_Purchased_Items.png

    In your app:

    1. Use the purchase transaction information provided by PaymentSuccessCallback.
    2. Properly manage the results of the purchase (for example, by providing user feedback and making the item available to the user). 

 

For details about IAP, see https://developer.samsung.com/galaxy-watch/distribute/iap.