<blockquote id="guj5h"><del id="guj5h"><option id="guj5h"></option></del></blockquote>
    <table id="guj5h"><blockquote id="guj5h"></blockquote></table>
    <blockquote id="guj5h"><ol id="guj5h"><big id="guj5h"></big></ol></blockquote>
        <var id="guj5h"><strike id="guj5h"></strike></var>
        <table id="guj5h"><dfn id="guj5h"><sup id="guj5h"></sup></dfn></table>
            <dfn id="guj5h"></dfn>
              <var id="guj5h"><strike id="guj5h"><table id="guj5h"></table></strike></var>

              【iOS】蘋果內購調研

              后臺-系統設置-擴展變量-手機廣告位-內容正文頂部

               

              參考文章

              什么時候使用蘋果內購

              微信和支付寶在國內已經有大量用戶,用起來也很方便,估計開發者也不愿意為此再折騰蘋果內購,所以,界定什么時候必須用蘋果內購是必要的.

              官方文檔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.,如果你想解鎖你的應用程序內的特性或者功能,如訂閱,游戲中的貨幣,游戲關卡,訪問高級內容,或解鎖完整版本,必須使用蘋果內購.

              總的來說,合法的虛擬物品和服務,如雜志,照片,訂閱服務,游戲中的貨幣,游戲關卡,訪問高級內容,或解鎖完整版本,是允許并且應該使用內購的.

              我們觀察一下常用的App,優酷、網易云音樂、愛奇藝、騰訊視頻,開通會員用的蘋果內購,淘寶或京東購物沒有用蘋果內購,這和我們上面的認知是相符的.但我發現了特例:QQ充會員.然后又發現微信讀書沒用蘋果內購,和它相似的多看閱讀卻用的蘋果內購來充值,蒙了...


              QQMemberCharge.png

              知乎上的一個回答,給了解釋的通的答案:

              實際上是個解釋權的問題,如果不同的蘋果員工對不同的 Apps 把這兩條解釋出不同的意思,審核的結果就可能不一樣。我們之前就這個問題專門詢問過 Apple 的客服,他的回答是需要使用跨平臺支付和同步功能的應用可以向蘋果提出申請,如果申請通過了就可以了,雖然我從來沒在蘋果網站上找到過這個申請的入口在哪兒。  作者:吳暢 鏈接:https://www.zhihu.com/question/20665809/answer/15788162 來源:知乎 著作權歸作者所有。商業轉載請聯系作者獲得授權,非商業轉載請注明出處。

              最后不得不猜測:是不是因為QQ和微信讀書,跟蘋果的關系比較鐵啊...

              協議、稅務和銀行業務

              App內購需要填寫協議、稅務和銀行信息,這個流程我們大致走一下.

              1.登錄iTunes Connect
              2.進入協議、稅務和銀行業務頁面

              ProtocolInterface.png
              3.選擇申請合同類型

              進入協議、稅務和銀行業務頁面后,會有3種合同類型,如果你之前沒有主動申請過去合同,那么一般你現在激活的合同只有iOS Free Application一種.

              頁面內容分為兩塊:

              • Request Contracts(申請合同)
              • Contracts In Effect(已生效合同)

              合同類型分為3種:

              • iOS Free Application(免費應用合同)
              • iOS Paid Application(付費應用合同)
              • iAd App NetNetwork(廣告合同)

              ContractRequest.png

              蘋果內購中,我們需要申請付費應用合同.

              接下來,我們需要填寫Contact Info(聯系信息),Bank Info(銀行信息), Tax Info(稅費信息),點擊下圖中的藍色按鈕(SetUp)添加.


              ContractSetup.png
              4.聯系信息

              ContactInfoSetUp.png

              如果你沒有添加過聯系人,你需要通過Add New Contact按鈕來添加一個新的聯系人。然后指定聯系人的職務.如果有聯系人,通過Select選擇,其中聯系人職務如下:

              • Senior Management:高管
              • Financial:財務
              • Technical:技術支持
              • Legal:法務
              • Marketing:市場推廣

              如果你是獨立開發者,可以全部填你自己一個人.

              5.填寫銀行信息

              BankInfoSetUp.png

              選擇你的銀行賬戶,如果你沒有,點擊旁邊的Add Bank Account添加一個賬戶.

              流程如下:

              5-1 選擇銀行所在的國家


              BankCountry.png

              5-2 填寫銀行CNAPS Code

              如果你不知道CNAPS Code是多少,可以點擊Look up Transit Number來查詢,查詢時會根據3個關鍵信息來查詢,如下:

              • Bank Name:銀行的英文名稱(不能是拼音)
              • City:銀行所在的城市英文名稱(中國的城市用拼音)
              • Postal Code:郵編
                然后在下面就會出來備選的銀行,選擇正確的銀行后,點擊next,進入下一步。

              CNAPS.png

              LookUpCNAPS.png

              或者,通過網上查到的浙商銀行來查詢.


              czbank.jpg

              5-3 確認銀行信息


              ConfirmBankInfo.png

              5-4 填寫銀行賬號信息

              • Bank Account Number:銀行賬號
              • Confirm Bank Account Number:再次輸入銀行賬號
              • Account Holder Name:持卡人姓名,中文名用拼寫,名在前,姓在后
              • Bank Account Currency:貨幣類型,一般國內的開發者選擇CNY

              BankAccountInfo.png

              5-5 確認所有信息


              ConfirmInfo.png
              6.填寫稅務信息

              選擇U.S Tax Forms來銷售App.


              TaxForm.png

              選擇后會問你兩個問題,第一個問題如下:詢問你是否是美國居民,有沒有美國伙伴關系或者美國公司,如果沒有直接選擇No。


              Q1.png

              接下來第二個問題如下:詢問你有沒有在美國的商業性活動,沒有也直接選No。


              Q2.png

              然后填寫你的稅務信息,包括以下幾點:


              ManageTaxInfo.png
              • Individual or Organization Name:個人或者組織名稱
              • Country of incorporation: 所在國家
              • Type of Beneficial Owner:受益方式,獨立開發者選個人
              • Permanent Residence:居住地址
              • Mailing address:郵寄地址
              • Name of Person Making this Declaration:聲明人
              • Title:頭銜
                填寫完這些信息后就可以提交了.
              7.等待審核

              大約不到一天就會通過審核.


              Processing.png

              審核通過后變成以下狀態:


              Success.png

              可以通過點擊Edit或View來編輯或審閱.

              創建內購項目


              TouchMyApp.png

              TouchTheProject.png

              TouchInAppPurchase.png

              添加適當的購買項目


              IAPItme.png

              不同的項目,處理邏輯各有差異.

              一些共性的東西:


              ProcudtID.png

              language.png

              screenshot.png

              一些特殊要求:


              privitePolicy.png

              PrivitePolicyDemo.png

              樣例:


              ItemDemo.png

              蘋果內購流程


              IAPFlow.png

              服務端的工作比較簡單,分4步:

              1. 接收ios端發過來的購買憑證。

              2. 判斷憑證是否已經存在或驗證過,然后存儲該憑證。

              3. 將該憑證發送到蘋果的服務器驗證,并將驗證結果返回給客戶端。

              4. 如果需要,修改用戶相應的會員權限。

              考慮到網絡異常情況,服務器的驗證應該是一個可恢復的隊列,如果網絡失敗了,應該進行重試。

              與蘋果的驗證接口文檔在這里。簡單來說就是將該購買憑證用Base64編碼,然后POST給蘋果的驗證服務器,蘋果將驗證結果以JSON形式返回。

              蘋果AppStore線上的購買憑證驗證地址是https://buy.itunes.apple.com/verifyReceipt
              測試的驗證地址是:https://sandbox.itunes.apple.com/verifyReceipt

              下載源碼

              簡單封裝的內購源碼
              下載地址

              我自己測試內購時源碼(我在開發者賬號上測試的這個項目,來真機調試,對看官應該沒用)
              下載地址

              Ios開發【iOS】蘋果內購調研,轉載需保留來源!

              鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

              后臺-系統設置-擴展變量-手機廣告位-內容正文底部
              老师好紧 好湿 硬的不行