In-App Purchase is an Apple technology that allows your users to purchase content and services from within your app. You set up In-App Purchase products through iTunes Connect, a suite of web-based tools. You implement In-App Purchase in your app using the Store Kit framework.
內置購買是一種蘋果技術,它允許用戶從你的應用內部購買內容和服務。你可以通過一套基于網絡的工具在iTunes Connect設置內置購買。 你使用商店Kit框架在應用中實現(xiàn)內置購買。
For example, you can use In-App Purchase to implement any of the following scenarios:
舉個例子,你可以使用內置購買來實現(xiàn)以下任何場景:
帶有額外高級功能的應用程序的一個基本版本。
一個允許用戶購買和下載新書的閱讀器應用。
-A game that offers new environments (levels) to explore
一個給用戶提供更多關卡的游戲。
一個允許用戶購買虛擬財產的游戲。
一個提供全方位地圖服務的應用。
一個數(shù)字雜志或通訊的訂閱應用。
After you’ve designed one or more products to make available in your app, you’re ready to add In-App Purchase configuration information in iTunes Connect.
當你在你的應用中設計好一個或多個產品時,你就以及準備好在iTunes Connect中添加內置購買配置信息了。 http://wiki.jikexueyuan.com/project/in-app-purchase/images/17.png" alt="" />
If you aren’t already familiar with In-App Purchase, read Getting Started with In-App Purchase on iOS and OS X and Adding In-App Purchase to your iOS and Mac Applications. If you aren’t already familiar with iTunes Connect, read iTunes Connect Developer Guide.
如果你對內置購買還不熟悉,請看Getting Started with In-App Purchase on iOS and OS X 和 Adding In-App Purchase to your iOS and Mac Applications. 如果你不熟悉iTunes Connect,請看 iTunes Connect Developer Guide.
一、概述
Use iTunes Connect to add, set up testing for, submit, and manage your In-App Purchase product configurations.
使用iTunes Connect 來添加,配置測試,提交,以及管理你的內置購買產品配置。
1、配置你的內置購買產品
After you’ve created an iTunes Connect record for your app, you can configure the In-App Purchase products that you want to make available through your app.
當你為你的應用創(chuàng)建了一個iTunes Connect記錄后,你可以配置內置購買產品,這些產品將在你的應用中出售。
Related Chapters: “Creating In-App Purchase Products,” “Displaying Products in More Than One Language”
相關章節(jié):“Creating In-App Purchase Products,” “Displaying Products in More Than One Language”
2.測試你的內置購買產品
Test the In-App Purchase products you’ve configured to make sure they appear in your app’s store and to make sure that financial transactions work properly.
測試你已經配置的內置購買產品,確保它們出現(xiàn)在你的應用商店,以及確保順利地完成財務交易工作。
Related Chapters: “Testing In-App Purchase Products”
相關章節(jié):“Testing In-App Purchase Products”
3.上傳你的內置購買產品以供審核
After you’ve included all the information for a product and tested to make sure it appears in your app’s store, you are ready to submit the product for review and to make it available on the store.
當你包含了產品的所有信息之后,測試它以確保它能出現(xiàn)在你的應用商店,這樣你就可以準備發(fā)布該產品以供審核,并讓它能在商店里出售。
Related Chapters: “Submitting In-App Purchase Products”
相關章節(jié): “Submitting In-App Purchase Products”
Manage the In-App Purchase Products Available in Your App 4.管理應用程序中的內置購買產品
After an In-App Purchase product is approved and ready for sale, you can continue to manage its display, pricing, and availability on the store.
當內置購買產品審核通過并準備好出售后,你可以繼續(xù)管理它的顯示,價格以及它的可用性。
Related Chapters: “Working with Your Product’s Status,” “Working with Your Product’s Metadata”
相關章節(jié): “Working with Your Product’s Status,” “Working with Your Product’s Metadata”
二、前提條件
To configure In-App Purchase content in iTunes Connect, you need access to:
要想在iTunes Connect里配置內置購買內容,你需要經過:
最新的iOS或Mac開發(fā)者計劃許可協(xié)議
See Legal Agreements in Your Account in Member Center.
查看 Member Center賬號中的法律協(xié)議。
最新支付的iOS或Mac應用合同
Open the Contracts, Tax, and Banking module in iTunes Connect, as described in “Managing Contracts, Taxes, and Banking” in iTunes Connect Developer Guide.
打開iTunes Connect中的 Contracts, Tax, and Banking單元,請看 iTunes Connect Developer Guide中的 “Managing Contracts, Taxes, and Banking” 。
一個iTunes Connect用戶賬號,它必須是管理員或者技術人員角色。
See “Setting Up User Accounts” in iTunes Connect Developer Guide.
查看 iTunes Connect Developer Guide 的“Setting Up User Accounts”
An iTunes Connect record for your app
你的應用程序的一個iTunes Connect 記錄。
See “Creating an iTunes Connect Record for an App” in iTunes Connect Developer Guide.
查看 iTunes Connect Developer Guide的“Creating an iTunes Connect Record for an App”。
三、參見
As you include In-App Purchase products in your apps, you may want to refer to these additional Apple resources, which describe the associated business and development guidelines and requirements:
當你的應用程序需要添加內置購買產品時,你或許想要引用這些額外的蘋果資源,它們描述了相關的業(yè)務,開發(fā)指南和需求:
Getting Started with In-App Purchase on iOS and OS X 提供了一個內置購買市場戰(zhàn)略和業(yè)務需求的概述。
App Distribution Guide中的 “Adding Capabilities”解釋了如何使用Xcode開啟各種蘋果服務,比如內置購買。
In-App Purchase Programming Guide 描述了用Store Kit框架在你的應用程序中嵌入一個商店。
In-App Purchase for Developers lists the references available to support you through development of your app and In-App Purchase content.
In-App Purchase for Developers 羅列了支持完成你的整個應用開發(fā)和內置購買內容的各種引用。
iTunes Connect Developer Guide 包含了各種基本信息,包括為即將發(fā)送到應用商店或Mac 應用商店的應用程序創(chuàng)建一個iTunes Connect 記錄。另外,本文描述了完成發(fā)布你的應用程序需要的其它步驟,包括建立你的組織合同,銀行信息以及發(fā)布應用程序元數(shù)據(jù)(metadata),包括artwork和本地化信息。它就如何監(jiān)控你的應用程序的成功持續(xù)收集各種信息。
Throughout this document, look for links to additional documents on more specific topics throughout this document.
通過本文,查找并鏈接到更具體的主題。