在应用程序购买沙盒测试 - 旧沙箱用户继续提示 [英] In App Purchases Sandbox Testing - Old sandbox users keep prompting

查看:109
本文介绍了在应用程序购买沙盒测试 - 旧沙箱用户继续提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发应用内购买的iphone游戏。我正在尝试通过调用restoreCompletedTransactions来检索我的沙盒用户先前的购买,但是没有回调。

I am working on an iphone game with in app purchases. I'm trying to retrieve my sandbox user's previous purchases by calling restoreCompletedTransactions, but no callback is being fired.

我在线阅读其他一些有过类似问题的人删除沙盒用户并尝试创建一个新用户。我尝试在一个月左右的时间内多次删除和创建新的测试用户(有些用户报告说它是苹果公司的沙箱服务器),但我没有运气。

I read online from some other people who have had similar issues to delete the sandbox user and try creating a new one. I tried deleting and creating new test users multiple times over the course of a month or so (some users report that it's apple's sandbox servers) but I have had zero luck.

这是奇怪的事情,每次当我进行恢复呼叫时,每当我在iphone上提示我的用户凭据时,系统都会提示我之前尝试过的所有沙盒帐户。这很奇怪,因为我已经从ITunesConnect中删除了它们,并且还在我的iPhone设置上注册了应用程序商店。

Here's the strange thing, every time I'm prompted for my user credentials on my iphone when I make that restore call, I get prompted for all of my previous sandbox accounts I've ever tried. It's very weird, because I've deleted them from ITunesConnect and also signed out on app store on my IPhone settings.

我还尝试恢复我的iPhone - 没有'或者工作。

I've also tried restoring my IPhone - didn't work either.

推荐答案

一旦你添加了一个事务观察者,如果有任何未完成的事务,iOS将检查默认的队列(意味着你没有完成它)所以它会在每次交易时显示警告框,直到你完成它,即使你没有采取任何措施来添加新的付款。因此,请尝试为当前停留在队列中的所有交易调用完成交易。

Once you add a transaction observer iOS will check the default Queue if there is any non completed transaction (which mean you didn't finish it) so it will show the alert box every time there is a transaction until you finish it even if you didn't do any action to add a new payment. so try to call finish transaction for all transactions which currently stuck on the queue.

这篇关于在应用程序购买沙盒测试 - 旧沙箱用户继续提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆