Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6949139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:54:55+00:00 2026-05-27T13:54:55+00:00

Let me explain my question with an example scenario: I’m creating an app like

  • 0

Let me explain my question with an example scenario:

I’m creating an app like paint with a few basic features like draw straight line, choose line color from list, etc…

There are some other features which are available to the user only when they pay for it,
like:

  • curved lines tool – 0.99$
  • add more colors – 0.99$
  • crop an area – 0.99$

User can buy the tools they wish.

I need to know how this can be done, i. e., how the in-app purchase from apps store is possible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:54:56+00:00Added an answer on May 27, 2026 at 1:54 pm

    Apple allows you to have different kinds of in-app purchase for your app – consumable purchases, that the user uses, and eventually the user uses them and need to re-buy the same feature – like life points in a game, or license to do something x number of times. Another type is non-consumable – an item that the user buys and can use without limit forever – they bought it, so they own it – like using a tool in a paint application. There is also a subscription and others, but these are what you should be looking at.

    NOTE: for in-app purchase to work, you MUST have an application bundle name that is unique and specific, that is not “www.ArvindSoftware.*” but “www.ArvindSoftware.MyappName”. You must also use this app id in specific provisioning profiles you will create for this app in iTunes connect – an ad hoc profile and distibution profile.

    To add an in-app purchase you need to add in-app purchase items in your application in iTunes connect website. For each product you can choose the name, description in many languages and price tier. Give each product an id that is unique and readable, something like “www.myCompanyName.myappname.myproductIDName”, for example “www.ArvindSoftware.GreatPictureEditor.UserCanCropAnArea”. Once you have set up the available items in the iTunes connect website, you write the client side for it.

    Search for MKStoreManager and MKStoreObserver, they are two classes that wrap up the purchase process from the app store, and are for free. You must include the StoreKit framework into your project. Basically, these classes manage a request to the app store to purchase product with a given “ProductID”. The storeKit framework does the rest for you – chck if the product exists, and ask the user to buy it, enter user & password etc.. Once the transaction is complete, you get a notification that product “ProductID” was purchased and the quantity that was purchased (for non-consumable, a user may purchase only once, if the user has already purchased, they do not need to pay again)

    There is also a way to restore previously purchased items for the specific user, so that a newly installed app will know if any of it’s in-app purchasable items were already bought by the current user.

    To test the purchase you can create a test user in iTunes connect, and log out of the real user account in your iPhone/iThing settings>store section. You then test the app, and when you ask to purchase the in-app, you enter the test user’s username and password. The purchase if marked as [Sandbox environment], so the purchase is a test purchase.

    Read more online.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let me use the following example to explain my question: public string ExampleFunction(string Variable)
This question came to my mind quite a few times. Let my explain my
I will explain my question on an example. Let's have following code in C#:
Let me explain the application. Before starting my question, I would like to say
I have two examples I have a question about. Let me explain via some
Before you start laughing at such a simple question let me explain: I am
Sorry if the question title is confusing. Let me explain further. I am building
This question might not seem programming related at first, but let me explain. I'm
I know the question title isn't the best. Let me explain. I do a
I'm sorry if my question title seems fundamentally uninformed. Let me explain what I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.