应用内购买可以“赠送”吗?在应用商店中?

发布于 2024-09-26 23:17:57 字数 51 浏览 4 评论 0原文

有谁知道应用内购买是否可以赠送礼物?例如,如果我想在游戏中给家庭成员免费金币,这可能吗?

Does anyone know if in-app purchase can be gifted? For example, if I want to give a family member free coins in a game, is this possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

少女的英雄梦 2024-10-03 23:17:57

据说“赠送”并不存在/有效,但有一种方法可以免费向选定的用户提供 StoreKit 功能。

iTunes Connect 中,点击管理用户,然后点击应用内购买测试用户

在这里,您可以添加虚假的 itunes 帐户,该帐户能够免费下载您的 StoreKit 内容。我不相信您被允许/能够添加真实的电子邮件帐户。我认为我没有尝试过,但我总是创建虚假的帐户和密码。从字面上看,任何事情都有效。

在iPhone的App Store上注销您的帐户,进入您的应用程序,然后使用假帐户和密码购买StoreKit产品。此帐户在您的所有应用程序上提供免费内容。不仅仅是特定的应用内购买。

正如您所看到的,这种方法只适用于您真正信任的人。您需要告诉人们帐户用户名和密码是什么,如果他们告诉其他人,您就会损失收入。

本质上:

送礼?...否。

为博主/测试版/家庭提供免费内容?...是的。

"Gifting" per say does not exist/work, but there is a way to provide your StoreKit functionality for free to select users.

In iTunes Connect, click on Manage Users, then In App Purchase Test User.

Here, you can add fake itunes accounts, which have the ability to download your StoreKit content for free. I don't believe you are allowed/able to add real email accounts. Don't think I have tried, but I always create bogus accounts and passwords. Literally anything works.

Logout of your account on your iPhone's App Store, go into your app, and purchase the StoreKit product with the fake account and password. This account provides free content on all of your apps. Not just a specific in-app purchase.

As you can see, this methodology is only good for people you REALLY trust. You need to tell people what the account username and password is, and if they tell other people about it, you lose revenue.

IN ESSENCE:

Gifting ?... No.

Free content for bloggers/beta/family ?... Yes.

暮年 2024-10-03 23:17:57

iOS SDK 有一个名为 Store Kit 的框架,用于处理应用内购买。该框架仅用于收取费用。正如 iOS 参考库应用内购买编程指南中所述:

您必须提供任何额外的信息
功能,包括解锁
内置功能或下载
来自您自己的服务器的内容。

您必须创建赠送功能。


“现在使用 StoreKit 有没有办法用其他人的电子邮件提交购买?而不是当前用户?”我在 SDK 中没有看到执行此操作的方法。

当用户 1 去为用户 2 购买应用内产品时,您必须为用户 1 提供一种选择用户 2 的机制。然后使用 StoreKit 为用户 1 正常处理付款。将交易保存在您的服务器上(用户 1 执行的操作)购买用户 2)。在您的应用程序中,当您检查解锁或下载应用程序内产品时,您必须检查您的服务器是否有该授权。

The iOS SDK has a framework called Store Kit for handling in app purchases. The framework is only for collecting payment. As stated in the iOS Reference Library In App Purchase Programming Guide:

You must provide any additional
functionality, including unlocking
built-in features or downloading
content from your own servers.

You would have to create the gifting functionality.


"Now using the StoreKit is there a way to submit a purchase with someone else's email? and not the current user?" I do not see a way to do this in the SDK.

When user 1 goes to buy an in app product for user 2, you will have to provide a mechanism for user 1 to select user 2. Then process the payment normally with StoreKit for user 1. Save the transaction on your server (what user 1 bought user 2). In your app when you check to unlock or download your in app products you will have to check your server for that authorization.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文