In-App Purchase Programming Guide----(一) ---- About In-App Purchase
About In-App Purchase
In-App Purchase allows you to embed a store inside your app using the Store Kit framework. This framework connects to the App Store on your app’s behalf to securely process payments from users, prompting them to authorize payment. The framework then notifies your app, which provides the purchased items to users. Use In-App Purchase to collect payment for additional features and content.
内置购买使用Store Kit 框架在应用程序里内置一个商店。该框架把你的应用程序的行为连接到应用商店来安全地处理用户的支付,促使他们授权支付。 然后框架给你的应用程序发送通知,该应用程序提供了用户购买的商品。使用内置购买可以为额外的功能和内容提供支付。
For example, using In-App Purchase, you can implement the following scenarios:
比如,使用内置购买,你可以实现以下内容:
A basic version of your app with additional premium features
一个带有额外高级功能的应用程序的基础版本。
A magazine app that lets users purchase and download new issues
一个可以让用户购买和下载新刊的杂志应用。
A game that offers new levels to explore
一个提供新关卡让用户攻克的游戏。
An online game that allows players to purchase virtual property
一个允许玩家购买虚拟资产在线游戏。
At a Glance
概论
At a high level, the interactions between the user, your app, and the App Store during the In-App Purchase process take place in three stages, as shown in Figure I-1. First, the user navigates to your app’s store and your app displays its products. Second, the user selects a product to buy and the app requests payment from the App Store. Third, the App Store processes the payment and your app delivers the purchased product.
从高层次来说,内置购买过程处理期间,用户,应用程序和应用商店之间的交互发生在三个阶段,如图I-1。首先,用户导航到你的应用程序商店,你的应用程序显示其产品。 其次,用户选择一个产品购买,应用程序从应用商店请求支付。 最后,应用商店处理该支付,你的应用程序传递被购产品。
Figure I-1 Stages of the purchase process
图I-1 购买过程的阶段
You Create and Configure Products in iTunes Connect
一、在iTunes Connect里创建和配置产品
Understanding what kinds of products and behaviors are supported by In-App Purchase lets you design your app and in-app store to make the best use of this technology.
理解内置购买支持哪些产品和行为让你最大化使用该技术来设计应用程序和内置商店。
Relevant Chapter: “Designing Your App’s Products”
Your App Interacts with the App Store to Sell Products
二、应用程序跟应用商店交互来出售产品
All apps that use In-App Purchase need to implement the core functionality described in these chapters to let users make purchases and then deliver the purchased products.
所有使用内置购买的应用程序都需要实现这些章节中描述的内核功能,让用户可以购买然后传递已购的产品。
These development tasks need to be done in order. The relevant chapters introduce them in the order you implement them, and they’re listed in full in“Implementation Checklist.” To help plan your development, you may want to read the full checklist before you begin.
这些开发任务需要按顺序完成。 相关章节按照你实现它们的顺序介绍,它们在“Implementation Checklist.”中有完整列表来帮助你计划你的开发,你可以在开始前先阅读完整的清单。
Relevant Chapters: “Retrieving Product Information,” “Requesting Payment,” “Delivering Products”
相关章节: “Retrieving Product Information,” “Requesting Payment,” “Delivering Products”
Subscriptions Require Additional Application Logic
三、订阅需要更多应用逻辑
Apps that offer subscriptions need to keep track of when the user has an active subscription, respond to expiration and renewal, and determine what content the user has access to.
提供订阅的应用程序需要随时监控用户何时有一个活动订阅,响应到期和续期,然后决定用户访问什么内容。
Relevant Chapter: “Working with Subscriptions”
Users Can Restore Purchases
四、用户可以恢复购买
Users can restore products that they previously purchased—for example, to bring content they’ve already paid for onto their new phone.
用户可以恢复它们先前已经购买的产品--比如,可以把购买产品给新的手机使用。
Relevant Chapter: “Restoring Purchased Products”
Apps and Products Are Submitted for Review
五、应用程序和产品需要提交审核
When you’re done developing and testing, you submit your app and your In-App Purchase products for review.
当你完成开发和测试后,你需要提交你的应用程序和内置购买产品以供审核。
Relevant Chapter: “Preparing for App Review”
See Also
参见
In-App Purchase Configuration Guide for iTunes Connect describes how to create and configure your app’s products in iTunes Connect.
描述了如何在iTunes Connect 里创建和配置应用程序的产品。
Receipt Validation Programming Guide describes how to work with receipts, in particular with the record of successful in-app purchases.
In-App Purchase Programming Guide----(一) ---- About In-App Purchase的更多相关文章
- In-App Purchase Programming Guide----(八) ---- Preparing for App Review
Preparing for App Review After you finish testing, you’re ready to submit your app for review. This ...
- In-App Purchase Programming Guide----(二) ---- Designing Your App’s Products
Designing Your App’s Products A product is something you want to sell in your app’s store. You creat ...
- In-App Purchase Configuration Guide for iTunes Connect---(一)----Introduction
Introduction In-App Purchase is an Apple technology that allows your users to purchase content and s ...
- App Store有哪些原因会影响app应用上架呢?(分享)
App Store对于应用上架的审核是非常严格的,很可能一个没有注意到的细节,或者一个你根本没想想到的原因就会导致你的应用上架失败.而排除这些无可避免的错误以外,还有一些导致应用上架失败的原因,非常常 ...
- In-App Purchase Programming Guide----(六) ----Working with Subscriptions
Working with Subscriptions Apps that use subscriptions have some additional behaviors and considerat ...
- In-App Purchase Programming Guide----(七) ----Restoring Purchased Products
Restoring Purchased Products Users restore transactions to maintain access to content they’ve alread ...
- In-App Purchase Programming Guide----(五) ----Delivering Products
Delivering Products In the final part of the purchase process, your app waits for the App Store to p ...
- In-App Purchase Programming Guide----(三) ----Retrieving Product Information
Retrieving Product Information In the first part of the purchase process, your app retrieves informa ...
- 【IOS笔记】View Programming Guide for iOS -1
原文:View Programming Guide for iOS View and Window Architecture Views and windows present your applic ...
随机推荐
- .net网站上传图片换电脑不显示 当不用网站的IP地址访问图片,只用相对路径访问时,在发布网站的时候,将上传图片的目标文件夹,包含在项目中再发布即可。
.net网站上传图片换电脑不显示 当不用网站的IP地址访问图片,只用相对路径访问时,在发布网站的时候,将上传图片的目标文件夹,包含在项目中再发布即可.
- Codeforces 569 B. Inventory
click here~~ **B. Inventory** time limit per test1 second memory limit per test256 megabytes inputst ...
- Chisel辅助iOS 应用程序调试,MusicApp模仿酷狗4.0 UI框架
本文转载至 http://www.cocoachina.com/ios/20140825/9446.html Chisel Chisel集合了大量的LLDB 命令来辅助iOS 应用程序调试,并支持添 ...
- 【BZOJ3041】水叮当的舞步 迭代深搜IDA*
[BZOJ3041]水叮当的舞步 Description 水叮当得到了一块五颜六色的格子形地毯作为生日礼物,更加特别的是,地毯上格子的颜色还能随着踩踏而改变.为了讨好她的偶像虹猫,水叮当决定在地毯上跳 ...
- asp.net 列表控件
web空间类都被放置在System.Web.UI.WebControls命名空间下1.ListBox ListBox控件用于创建多选的下拉列表,而可选项是通过ListItem元素来定义的.示例代码如 ...
- 九度OJ 1132:与7无关的数 (数字特性)
时间限制:1 秒 内存限制:32 兆 特殊判题:否 提交:1619 解决:1037 题目描述: 一个正整数,如果它能被7整除,或者它的十进制表示法中某个位数上的数字为7, 则称其为与7相关的数.现求所 ...
- ZeroMQ Distributed Messaging
ZeroMQ \zero-em-queue\, \ØMQ\: Ø Connect your code in any language, on any platform. Ø Carries mes ...
- LeetCode(83)Remove Duplicates from Sorted List
题目 Given a sorted linked list, delete all duplicates such that each element appear only once. For ex ...
- hdu 3415 单调队列
Max Sum of Max-K-sub-sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K ...
- 分词系统简介:PHPAnalysis分词程序
分词系统简介:PHPAnalysis分词程序使用居于unicode的词库,使用反向匹配模式分词,理论上兼容编码更广泛,并且对utf-8编码尤为方便. 由于PHPAnalysis是无组件的系统,因此速度 ...