iPhone在应用程序中购买不可再生产品多次购买

发布于 2024-12-26 03:33:46 字数 409 浏览 0 评论 0原文

我有一个不可更新的应用内购买产品。 当有人购买此产品时,某些内容将解锁一个月(无需下载或安装任何内容)。

一个月后,要求用户再次购买该不可再生产品,即:用户需要第二次购买该不可再生产品。

问题是,当他尝试这样做时,(测试)用户收到以下消息:

You've already purchased this but is hasn't been downloaded.
Tap ok to download it now.

但我的产品不需要下载,并且之前完成的交易已成功完成并从交易队列中删除:

[[SKPaymentQueue defaultQueue] finishTransaction:transaction];

有人知道如何做吗?

I have an In-App Purchase product that is non-renewable.
When somebody buys this product some content is unlocked for one month (there is nothing to be downloaded or installed).

After one month the user is asked to buy again the non-renewable product, i.e: the user need to buy that non renewable product a second time.

The problem is that when he try to do it the (testing) user got the following message:

You've already purchased this but is hasn't been downloaded.
Tap ok to download it now.

But my product do not need to be downloaded, and the transaction done before was successfully finished and removed from the transaction queue:

[[SKPaymentQueue defaultQueue] finishTransaction:transaction];

Does somebody know how to do it?

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

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

发布评论

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

评论(1

给我一枪 2025-01-02 03:33:46

您使用的是非续订订阅吗?

然后确保您将哪个标志设置为 true 来了解您是否购买了该产品。并且还要确保该标志随着该订阅的过期而过期。

如果您这样做而不是再次购买该产品,您可能会收到这种警报...

订阅警报

You are using the Non-Renewing Subscription right?

Than make sure what ever the flag you are setting to true to know whether you have purchased that product or not. And also make sure to expire that flag with expiration of that subscription.

And If you are doing so than while buying upon that product again you will probably get this kinda alert...

Subscription alert

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