简体   繁体   English

在iOS上进行应用内购买

[英]In-App purchases on iOS

I am completely new to this so please bear with me. 我对此完全陌生,请耐心等待。

I am developing a service and as part of that service I'd like to give users the option to upgrade their account to get some additional features in return for a small monthly fee. 我正在开发一项服务,作为该服务的一部分,我希望为用户提供升级其帐户的选项,以获取一些附加功能,但需要支付少量月费。

The service is mobile-first and will run on iOS and Android, as well as a website with some of the features you can get from the app, account management, that kind of thing. 该服务是移动优先的,可在iOS和Android以及具有一些可从应用程序,帐户管理等功能获得的网站上运行。

I don't really want to have to encourage people to use the website to signup as the app is supposed to be mobile first. 我真的不想鼓励人们使用该网站进行注册,因为该应用程序应该首先移动。 Equally I need their account across any device they wish to use to recognise that they are a premium user. 同样,我需要他们希望使用任何设备来识别他们是高级用户的帐户。

My question is related to how IAP's work for this monthly subscription: 我的问题与IAP每月订阅的工作方式有关:

Do IAP's apply here or can I just use my own sign up and credit card processing? 是在这里申请IAP吗?还是可以只使用我自己的注册和信用卡处理功能? The user isn't buying any downloadable content, just the ability to access a couple of small features on the app. 用户不会购买任何可下载的内容,而只是能够访问应用程序上的几个小功能。 If they do apply, how would my website or the Android app know that the user has purchased a subscription on iOS? 如果确实适用,我的网站或Android应用程序如何知道用户已在iOS上购买了订阅?

Thanks in advance 提前致谢

IAP do apply in this case, but please be aware that it might be against some policies to buy some service on iOS and use it on android and vice verso. 在这种情况下,IAP确实适用,但请注意,在iOS上购买某些服务并在android和反之亦然使用它可能违反某些政策。

About the process itself, you can use non-renewable subscriptions or renewable subscriptions and communicate the electronic receipt to your server to verify it with apple/google servers and keep your client status on server (active/paid or not active/not paid). 关于流程本身,您可以使用不可更新的订阅或可更新的订阅,并将电子收据传达给您的服务器,以与Apple / google服务器进行核对,并在服务器上保持您的客户状态(有效/已付费或未激活/未付费)。 And you only authenticate with your server and get the status, while on client make the decision to show the option to buy/extend subscription. 而且,您只需要通过服务器进行身份验证并获得状态,而在客户端上就可以决定显示购买/扩展订阅的选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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