通过单笔付款购买多个SKProducts(Buying multiple SKProducts with single payment)

编程入门 行业动态 更新时间:2024-10-13 10:29:02
通过单笔付款购买多个SKProducts(Buying multiple SKProducts with single payment)

我正在浏览In App指南并试图找出如何处理购买多种产品。 假设我有3个功能可以通过IAP购买,我想有选择选择用户愿意购买,然后立即购买所有选择。 我应该只创建3个产品(针对每个功能)还是应该为每个可用功能组合创建一个产品(例如:A,B,C,A + B,A + C,A + B + C ......) ? 我试图谷歌它,但我到目前为止没有任何东西,不知道我是在问好问题还是什么。 任何人都可以指导我,某些教程或建议吗?

I'm walking through In App guide and trying to figure out how to deal with buying multiple products. Let's say I have 3 features available to buy via IAP and I want to have option to select which ones user is willing to buy, then buy all selected at once. Should I create only 3 products (for each feature) or should I create one product for each possible combination of available features (like: A, B, C, A+B, A+C, A+B+C...) ? I tried to google it, but I have nothing so far, not sure if I'm asking good question or what. Can anyone direct me somewhere, some tutorial or advice?

最满意答案

In App Purchase SDK仅提供paymentWithProduct:方法,该方法仅启用一个产品作为参数。 您只能将数量设置为大于1.如果您想提出应用程序包,您应该在itunesConnect上将它们注册为单独的应用程序,并在您的应用程序中提出它们。 但是如果你没有设定不同于单独产品总和的价格,我认为用户没有真正的优势。

The In App Purchase SDK present only the paymentWithProduct: method which enable only one product as parameter. You may only set the quantity to be more than 1. If you want to propose package of In-App you should register them as separate In-App on itunesConnect and propose them in your app. But if you don't set a price different than the sum of the separate products, I don't see a real advantage to the user.

更多推荐

本文发布于:2023-07-17 14:00:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1145610.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   SKProducts   Buying   payment   single

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!