iOS上自动续订订阅所需的服务器

时间:2023-01-12 21:30:03

Can someone explain to me what is required for Auto-Renewable subscriptions on iOS?

有人可以向我解释iOS上的Auto-Renewable订阅需要什么吗?

I'm confused as to whether it requires a server-side component (built by myself)? Or can everything be handled within the app?

我很困惑它是否需要服务器端组件(由我自己构建)?或者可以在应用程序内处理所有内容?

2 个解决方案

#1


0  

Actually, this issue is fully covered in apple docs even with pictures and schemas

实际上,即使有图片和模式,苹果文档也完全涵盖了这个问题

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html

Briefly:

简述:

1) You will need server-side if you want to make your subscriptions more flexible (ex: to add more sub-ns while app is in appstore) In this case your app gets list of subscriptions from server

1)如果你想让你的订阅更灵活,你将需要服务器端(例如:当应用程序在appstore中时添加更多子命令)在这种情况下,你的应用程序从服务器获取订阅列表

2) You will be able to check the correctness of a transaction using your server by sending the received receipt to Apple-server, and give users the content if only the receipt is valid.

2)您可以通过将收到的收据发送到Apple服务器来使用您的服务器检查交易的正确性,并且只有收据有效时才向用户提供内容。

#2


1  

For the most basic setup, the answer is no, you don't need your own back end. Apple takes care of the money, and you can get the transaction status from apple in the app and unlock or lock whatever the user is paying for based on that information.

对于最基本的设置,答案是否定的,您不需要自己的后端。 Apple负责这笔钱,您可以从应用程序中的apple获取交易状态,并根据该信息解锁或锁定用户支付的任何费用。

#1


0  

Actually, this issue is fully covered in apple docs even with pictures and schemas

实际上,即使有图片和模式,苹果文档也完全涵盖了这个问题

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html

https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html

Briefly:

简述:

1) You will need server-side if you want to make your subscriptions more flexible (ex: to add more sub-ns while app is in appstore) In this case your app gets list of subscriptions from server

1)如果你想让你的订阅更灵活,你将需要服务器端(例如:当应用程序在appstore中时添加更多子命令)在这种情况下,你的应用程序从服务器获取订阅列表

2) You will be able to check the correctness of a transaction using your server by sending the received receipt to Apple-server, and give users the content if only the receipt is valid.

2)您可以通过将收到的收据发送到Apple服务器来使用您的服务器检查交易的正确性,并且只有收据有效时才向用户提供内容。

#2


1  

For the most basic setup, the answer is no, you don't need your own back end. Apple takes care of the money, and you can get the transaction status from apple in the app and unlock or lock whatever the user is paying for based on that information.

对于最基本的设置,答案是否定的,您不需要自己的后端。 Apple负责这笔钱,您可以从应用程序中的apple获取交易状态,并根据该信息解锁或锁定用户支付的任何费用。