简体   繁体   中英

How to implement shoping cart application for iphone?

I have implemented one iphone application in which i want to add shoping cart functionality.I have no idea about how to implement this functionality so please give me idea about that. I have seen ebay and amazon application in app store i want to implement that type of application.

Using Store Kit Framework Filed under: iPhone Dev SDK by Tags: Store kit iphone 3.0 dev sixtemia Tesh @ 16:59

One of the new framework in firmware 3.0 is the Store Kit. It can be very usefull to get a new business model in iPhone applications. For example, you can create a subscription magazine app where you ask for payment on a monthly, yearly or periodic basis of your choice. Sell extra levels to extend the experience of your game,

The main steps to use this framework are:

    • Create ìIn App Purchase Test Userî in iTunes Connect Portal.
    • Have create App ID in the Developer Portal and enabled in-App purchases for that.
    • Create the new App on in iTunes Connect Portal, and Register a product for this App.
    • Develop the store in your App.

1.- Create ìIn App Purchase Test Userî in iTunes Connect Portal.

Go to iTunes Connect Portal, (https://itunesconnect.apple.com), and click the option ìManage Usersî, once on there, choose ìIn App Purchase Test Userî option, and add a new User. The email that they requiere must be different of your iTunes Connect mail, it can be a dummy mail.

iTunesConnect->Manage Users-> In App Purchase Test User-> Add New User.

2.- Have create App ID in the Developer Program Portal and enabled in-App purchases for that.

Go to Developer Program Portal (Apple Developer Connection) and select ìApp IDsî section. The next step will be create a new App ID. Select the top right button ìNew App IDî. In bundle identifier I recomend to use a string like this, ìcom.yourcompany.appnameî.

Developer Program Portal -> App IDs -> New App ID.

3.- Create the new App on in iTunes Connect Portal, and Register a product for this App.

Now we create the app on iTunes Connect. Again go to iTunes Connect Portal and select ìmanage your applicationsî. On left top you can see the ìadd new applicationî button, click it, and follow the steps. On Pricing step, itís very important that you select a payment application (Not free), cause the app purchases are only available on this kind of App.

iTunes Connect -> Manage your Applications -> Add new Application

Once the App has been created, you can see it on ìManage your applicationsî. To add In-app purchase, select the button ìManage in-app purchaseî. In this page, you can create your app purchases using the top left button, ìCreate Newi.

iTunes Connect -> Manage your Applications -> Manage in-app purchase.

  • If your application is free, you canít see this option

4.- Develop the store in your App.

This is the final step to use store kit. First of all itís very important decide your application store model. Depending on how many items your store offers and how often you add new items, you may want to use one of two basic models: self-contained or downloadable content. In this tutorial we use a self-contained model.

In XCode, when you set up the project, make sure to link to StoreKit.framework.

Store Kit does not allow your application to patch itself or download additional code. For this the new feature must already exist in your application waiting to be unlocked

4.1.- Get the in-app purchase.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM