參考文章
什么時候使用蘋果內(nèi)購
微信和支付寶在國內(nèi)已經(jīng)有大量用戶,用起來也很方便,估計開發(fā)者也不愿意為此再折騰蘋果內(nèi)購,所以,界定什么時候必須用蘋果內(nèi)購是必要的.
官方文檔的Understanding What You Can Sell Using In-App Purchase
中,對于什么能賣,什么不能賣,做了指導.
You can use In-App Purchase to sell content, app functionality, and services.
* Content. Deliver digital content or assets, such as magazines, photos, and artwork. Content can also be used by the app itself—for example, additional characters and levels in a game, filters in a camera app, and stationery in a word processor.
* App functionality. Unlock behavior and expand features you’ve already delivered. Examples include a free game that offers multiplayer mode as an in-app purchase and a free weather app that lets users make a one-time purchase to remove ads.
* Services. Have users pay for one-time services such as voice transcription and for ongoing services such as access to a collection of data.
You can’t use In-App Purchase to sell real-world goods and services or to sell unsuitable content.
* Real-world goods and services. You must deliver a digital good or service within your app when using In-App Purchase. Use a different payment mechanism to let your users buy real-world goods and services in your app, such as a credit card or payment service.
* Unsuitable content. Don’t use In-App Purchase to sell content that the isn’t allowed by the App Review Guidelines—for example, pornography, hate speech, or defamation.
在App Store上架指導中,給出了關于payment更具體的說明:
3.1 Payments
3.1.1 In-App Purchase: If you want to unlock features or functionality within your app, (by way of example: subscriptions, in-game currencies, game levels, access to premium content, or unlocking a full version), you must use in-app purchase. Apps may not include buttons, external links, or other calls to action that direct customers to purchasing mechanisms other than IAP. Any credits or in-game currencies purchased via IAP must be consumed within the app and may not expire, and you should make sure you have a restore mechanism for any restorable in-app purchases. Please remember to assign the correct purchasability type or your app will be rejected. Apps should not directly or indirectly enable gifting of IAP content, features, or consumable items to others. Apps distributed via the Mac App Store may host plug-ins or extensions that are enabled with mechanisms other than the App Store.
3.1.2 Subscriptions: Auto-renewing subscriptions should only be offered using in-app purchase and may only be used for periodicals (e.g. newspapers, magazines), business apps (e.g. enterprise, productivity, professional creative, cloud storage), media apps (e.g. video, audio, voice, photo sharing), and other approved services (e.g. dating, dieting, weather). These subscriptions must last a minimum of 7 days and be accessible from all of the user’s devices where the app is available. You may offer subscriptions that are shared across your own apps, but these subscriptions may not extend to third party apps or services.
Note: We will update these guidelines in the coming weeks for the subscription changes launching this fall.
3.1.3 Content-based “Reader” Apps: Apps may allow a user to access previously purchased content or subscriptions (specifically: magazines, newspapers, books, audio, music, video, access to professional databases, VoIP, cloud storage, and approved services such as educational apps that manage student grades and schedules), provided the app does not direct users to a purchasing mechanism other than IAP.
3.1.4 Content Codes: Apps may not use their own mechanisms to unlock content or functionality, such as license keys, augmented reality markers, QR codes, etc. In limited circumstances, such as when features are dependent upon specific hardware to function, the app may unlock that functionality without using in-app purchase (e.g. an astronomy app that adds features when synced with a telescope). App features that work in combination with an approved physical product (such as a toy) on an optional basis may unlock functionality without using IAP, provided that an IAP option is available as well. You may not, however, require users to purchase unrelated products or engage in advertising or marketing activities to unlock app functionality.
3.1.5 Physical Goods and Services Outside of the App: If your app enables people to purchase goods or services that will be consumed outside of the app, you must use purchase methods other than IAP to collect those payments, such as Apple Pay or traditional credit card entry. Apps may facilitate transmission of approved virtual currencies (e.g. Bitcoin, DogeCoin) provided that they do so in compliance with all state and federal laws for the territories in which the app functions.
3.1.6 Apple Pay: Apps using Apple Pay must provide all material purchase information to the user prior to sale of any good or service and must use Apple Pay branding and user interface elements correctly, as described in the Apple Pay Identity Guidelines and Human Interface Guidelines. Apps using Apple Pay to offer recurring payments must, at a minimum, disclose the following information:
* The length of the renewal term and the fact that it will continue until canceled
* What will be provided during each period
* The actual charges that will be billed to the customer
* How to cancel
3.1.1開宗明義,If you want to unlock features or functionality within your app, (by way of example: subscriptions, in-game currencies, game levels, access to premium content, or unlocking a full version), you must use in-app purchase.
,如果你想解鎖你的應用程序內(nèi)的特性或者功能,如訂閱异希,游戲中的貨幣秸侣,游戲關卡,訪問高級內(nèi)容,或解鎖完整版本,必須使用蘋果內(nèi)購.
總的來說,合法的虛擬物品和服務,如雜志,照片,訂閱服務,游戲中的貨幣味榛,游戲關卡椭坚,訪問高級內(nèi)容,或解鎖完整版本,是允許并且應該使用內(nèi)購的.
我們觀察一下常用的App,優(yōu)酷搏色、網(wǎng)易云音樂善茎、愛奇藝、騰訊視頻频轿,開通會員用的蘋果內(nèi)購,淘寶或京東購物沒有用蘋果內(nèi)購,這和我們上面的認知是相符的.但我發(fā)現(xiàn)了特例:QQ充會員.然后又發(fā)現(xiàn)微信讀書沒用蘋果內(nèi)購垂涯,和它相似的多看閱讀卻用的蘋果內(nèi)購來充值,蒙了...
知乎上的一個回答,給了解釋的通的答案:
實際上是個解釋權的問題航邢,如果不同的蘋果員工對不同的 Apps 把這兩條解釋出不同的意思耕赘,審核的結果就可能不一樣。我們之前就這個問題專門詢問過 Apple 的客服膳殷,他的回答是需要使用跨平臺支付和同步功能的應用可以向蘋果提出申請操骡,如果申請通過了就可以了,雖然我從來沒在蘋果網(wǎng)站上找到過這個申請的入口在哪兒赚窃。
作者:吳暢
鏈接:https://www.zhihu.com/question/20665809/answer/15788162
來源:知乎
著作權歸作者所有册招。商業(yè)轉載請聯(lián)系作者獲得授權,非商業(yè)轉載請注明出處勒极。
最后不得不猜測:是不是因為QQ和微信讀書,跟蘋果的關系比較鐵啊...
協(xié)議是掰、稅務和銀行業(yè)務
App內(nèi)購需要填寫協(xié)議、稅務和銀行信息,這個流程我們大致走一下.
1.登錄iTunes Connect
2.進入?yún)f(xié)議辱匿、稅務和銀行業(yè)務頁面
3.選擇申請合同類型
進入?yún)f(xié)議键痛、稅務和銀行業(yè)務頁面后,會有3種合同類型匾七,如果你之前沒有主動申請過去合同絮短,那么一般你現(xiàn)在激活的合同只有iOS Free Application一種.
頁面內(nèi)容分為兩塊:
- Request Contracts(申請合同)
- Contracts In Effect(已生效合同)
合同類型分為3種:
- iOS Free Application(免費應用合同)
- iOS Paid Application(付費應用合同)
- iAd App NetNetwork(廣告合同)
蘋果內(nèi)購中,我們需要申請付費應用合同.
接下來,我們需要填寫Contact Info(聯(lián)系信息),Bank Info(銀行信息), Tax Info(稅費信息),點擊下圖中的藍色按鈕(SetUp)添加.
4.聯(lián)系信息
如果你沒有添加過聯(lián)系人,你需要通過Add New Contact
按鈕來添加一個新的聯(lián)系人乐尊。然后指定聯(lián)系人的職務.如果有聯(lián)系人,通過Select選擇,其中聯(lián)系人職務如下:
- Senior Management:高管
- Financial:財務
- Technical:技術支持
- Legal:法務
- Marketing:市場推廣
如果你是獨立開發(fā)者戚丸,可以全部填你自己一個人.
5.填寫銀行信息
選擇你的銀行賬戶划址,如果你沒有扔嵌,點擊旁邊的Add Bank Account
添加一個賬戶.
流程如下:
5-1 選擇銀行所在的國家
5-2 填寫銀行CNAPS Code
如果你不知道CNAPS Code是多少,可以點擊Look up Transit Number
來查詢夺颤,查詢時會根據(jù)3個關鍵信息來查詢痢缎,如下:
- Bank Name:銀行的英文名稱(不能是拼音)
- City:銀行所在的城市英文名稱(中國的城市用拼音)
- Postal Code:郵編
然后在下面就會出來備選的銀行,選擇正確的銀行后世澜,點擊next独旷,進入下一步。
或者,通過網(wǎng)上查到的浙商銀行來查詢.
5-3 確認銀行信息
5-4 填寫銀行賬號信息
- Bank Account Number:銀行賬號
- Confirm Bank Account Number:再次輸入銀行賬號
- Account Holder Name:持卡人姓名,中文名用拼寫嵌洼,名在前案疲,姓在后
- Bank Account Currency:貨幣類型,一般國內(nèi)的開發(fā)者選擇CNY
5-5 確認所有信息
6.填寫稅務信息
選擇U.S Tax Forms
來銷售App.
選擇后會問你兩個問題麻养,第一個問題如下:詢問你是否是美國居民褐啡,有沒有美國伙伴關系或者美國公司,如果沒有直接選擇No鳖昌。
接下來第二個問題如下:詢問你有沒有在美國的商業(yè)性活動备畦,沒有也直接選No。
然后填寫你的稅務信息许昨,包括以下幾點:
- Individual or Organization Name:個人或者組織名稱
- Country of incorporation: 所在國家
- Type of Beneficial Owner:受益方式懂盐,獨立開發(fā)者選個人
- Permanent Residence:居住地址
- Mailing address:郵寄地址
- Name of Person Making this Declaration:聲明人
- Title:頭銜
填寫完這些信息后就可以提交了.
7.等待審核
大約不到一天就會通過審核.
審核通過后變成以下狀態(tài):
可以通過點擊Edit或View來編輯或?qū)忛?
創(chuàng)建內(nèi)購項目
添加適當?shù)馁徺I項目
不同的項目,處理邏輯各有差異.
一些共性的東西:
一些特殊要求:
樣例:
蘋果內(nèi)購流程
服務端的工作比較簡單,分4步:
接收ios端發(fā)過來的購買憑證糕档。
判斷憑證是否已經(jīng)存在或驗證過莉恼,然后存儲該憑證。
將該憑證發(fā)送到蘋果的服務器驗證翼岁,并將驗證結果返回給客戶端类垫。
如果需要,修改用戶相應的會員權限琅坡。
考慮到網(wǎng)絡異常情況悉患,服務器的驗證應該是一個可恢復的隊列,如果網(wǎng)絡失敗了榆俺,應該進行重試售躁。
與蘋果的驗證接口文檔在這里。簡單來說就是將該購買憑證用Base64編碼茴晋,然后POST給蘋果的驗證服務器陪捷,蘋果將驗證結果以JSON形式返回。
蘋果AppStore線上的購買憑證驗證地址是https://buy.itunes.apple.com/verifyReceipt
測試的驗證地址是:https://sandbox.itunes.apple.com/verifyReceipt
下載源碼
簡單封裝的內(nèi)購源碼
下載地址
我自己測試內(nèi)購時源碼(我在開發(fā)者賬號上測試的這個項目,來真機調(diào)試,對看官應該沒用)
下載地址