Android 应用内结算失败,显示“您已经有该商品的待处理订单。”

发布于 2024-12-04 09:17:39 字数 1264 浏览 1 评论 0原文

我已经实现了应用内结算,但遇到了问题。这是我所看到的。

  1. 下单购买商品
  2. 等待订单完成
  3. 如果购买需要一段时间,用户点击后退按钮取消购买
  4. 我的应用程序收到购买已取消的通知,并确认了这一点
  5. 用户我和我都收到一封电子邮件,说明购买已取消
  6. 当用户尝试再次购买该商品时,市场会抛出一条错误,提示“您已经有该商品的待处理订单”。
  7. 响应代码是“服务不可用”
  8. 恢复交易不会产生任何交易
  9. 您无法使用此帐户购买此商品

我在网上找到了一些有关此问题的信息。 http://www.google.com /support/forum/p/Android+Market/thread?tid=375490c831e02ab5&hl=en http://code.google.com/p/marketbilling/issues/detail ?id=39

我联系了 Google,并得到了汽车人的回复,表示他们正在调查此事。

但是,我想知道我是否可以做任何事情来导致这种情况。

哦,我还确保我的 PendingIntent 是好的。我有成功的订单。

更新: 这是我发给看到此内容的客户的库存电子邮件。 Android 市场似乎越来越好,无论如何,我现在得到的这些越来越少了。

您好,

不幸的是,这个“挂单”错误是 Android Market 中的一个错误,我无法控制。

为了帮助他们提高此问题的优先级,请通过以下网络表单与 Google 联系。 http://www.google.com/support/androidmarket/bin /request.py?contact_type=market_phone_tablet

您可以告诉他们参考错误 5126349,这是他们的内部跟踪号码。

I've implemented in-app billing and I'm running into an issue with it. Here is what I see.

  1. Place an order for an item
  2. Wait for a little while for the order to go through
  3. If the purchase is taking a while, the user hits the back button to cancel the purchase
  4. My app gets notified that the purchase was canceled and it confirms this
  5. The user and myself both get an email stating that the purchase was canceled
  6. When the user attempts to purchase the item again, the Market throws an error saying "You already have a pending order for this item."
  7. The response code is "Service Unavailable"
  8. Restore transactions yields no transactions
  9. You can't ever purchase this item with this account

I have found some information about this on the web.
http://www.google.com/support/forum/p/Android+Market/thread?tid=375490c831e02ab5&hl=en
http://code.google.com/p/marketbilling/issues/detail?id=39

I contacted Google and got an autobot response that they are looking into this.

However, I'm wondering if there is anything I could be doing to cause this.

Oh, and I've also made sure my PendingIntent is good. I have had successful orders.

Update:
Here is my stock e-mail to customers that see this. It seems the Android Market has been getting better, as I get fewer and fewer of these now anyhow.

Hello,

This "pending order" error is unfortunately a bug in the Android Market that I cannot control.

To help them raise the priority of this issue, please contact Google at the following web form.
http://www.google.com/support/androidmarket/bin/request.py?contact_type=market_phone_tablet

You can tell them to reference bug 5126349, which is their internal tracking number for this.

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

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

发布评论

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

评论(1

尛丟丟 2024-12-11 09:17:39

虽然应用内计费存在问题,例如此处提供的链接(我是第 39 期的活跃评论者),但也有一些值得检查的事情可能会导致 Google 的 500 响应。

即“恢复交易”并滥用该调用。滥用该调用是针对每个用户进行的,我已经看到一个 google 帐户被 500 封锁了几天,这在开发过程中肯定会发生,具体取决于您的实施方式。

这里最好的建议是将您的测试人员扩展到更多用户(或具有不同主要谷歌帐户的设备),运行不同版本的 Android 市场。如果你能从某人那里得到积极的回应,那么你很可能就可以走了,剩下的就交给谷歌了。

While there are issues with in-app billing like the links presented here (i was active commenter on issue 39), there are some worthwhile things to check on as well that can cause a 500 response from google.

Namely, "restore transactions" and abusing that call. Abuse of that call is done on a per user basis and i've seen a google account get blocked with a 500 for a few days, which can certainly happen during development to you depending on how you implement.

Best advice here is to expand your testers to more users (or devices with different primary google accounts), running different versions of the android market. If you can get one positive response from someone, then more than likely you're good to go and the rest is at google's door.

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