`
13146489
  • 浏览: 251957 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

iOS In App Purchase: Will Apple reviewers test live or sandbox environment?

 
阅读更多
原文地址:http://stackoverflow.com/questions/11739576/ios-in-app-purchase-will-apple-reviewers-test-live-or-sandbox-environment
I use In App Payment to sell ingame consumables. After successfull payment I forward the payment receipt to my backend, which validates the receipt with the iTunes payment backend. This works flawlessly in the sandbox environment.

Now I submitted my app so it can be approved by the Apple guys and be published in the App Store. Of course I made sure that my backend will be validating the payment receipts with the production environment of the itunes backend, because I expected the Apple guys to test the app in production mode. However, the app was rejected. As a reason I was told that the purchase of my consumables does not work (refused by my backend because of an invalid receipt). After checking my logs I see 3 attempted purchases. I decoded the receipts that were used and see, that all of these are "environment" = "Sandbox".

Does this mean that Apple tests submitted apps in sandbox mode? That would be crazy! Am I supposed to allow sandbox payment in my production environment or what? Any facts about this?


Thomas, you should definitely read Apple's FAQ on In-App Purchase: https://developer.apple.com/library/ios/#technotes/tn2259/_index.html#//apple_ref/doc/uid/DTS40009578-CH1-FREQUENTLY_ASKED_QUESTIONS

Always verify your receipt first with the production URL; proceed to verify with the sandbox URL if you receive a 21007 status code. Following this approach ensures that you do not have to switch between URLs while your application is being tested or reviewed in the sandbox or is live in the App Store.

So yes, they are kinda crazy. But we knew that, didn't we?
分享到:
评论
1 楼 HotStrong 2012-10-19  
祥哥,顶你!

相关推荐

    Reviewer:快捷添加Reviewers For Stash-crx插件

    在stash的创建pr页面记录选择过的reviewers,下次直接点击头像即可添加,超级方便!开发必备! 新增了用户组管理功能,方便添加一组成员! 按住Option+鼠标左键点击即可移除reviewer(大头像列表和组成员都支持)! ...

    PyPI 官网下载 | assign-reviewers-0.2.tar.gz

    《PyPI官网下载:assign-reviewers-0.2.tar.gz——深入解析Python库的发布与使用》 在Python的世界里,PyPI(Python Package Index)是最重要的软件仓库,它为全球开发者提供了一个集中分享和获取Python库的地方。...

    auto-assign-review-teams:GitHub 分配审核团队的操作

    自动分配审核团队分配个人或成员如果启用了团队的,则团队分配效果最佳示例用法 name : " Assign Reviewers "on : pull_request : types : [opened, ready_for_review] jobs : assign-reviewers : runs-on : ubuntu-...

    Manning.Git.in.Practice.2014.9.pdf

    - **Reviewing Pull Requests**: Reviewers can comment on specific lines of code, suggest changes, and approve or reject the pull request. **Chapter 11: Hosting a Repository** - **Self-hosted Git ...

    add-reviewers:Github操作,将审阅者添加到拉取请求中

    reviewers -[必填]以逗号分隔的评论者列表[例如, 约翰,克莱默,塞因费尔德] re-request-when-changes-requested [可选]如果为true,则当审阅者请求更改时,将新的提交推送到此PR将会从他们那里重新请求审阅 re-...

    Beginning Perl

    Technical Reviewers: Richard Dice, Ed Schaefer, Todd Shandelman Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Jonathan Gennick, Jonathan Hassell, Michelle ...

    Software.Testing.2nd.Edition (Sams)软件测试(英文版)

    What This Book Will Do for You Software Necessary to Use This Book How This Book Is Organized Conventions Used in This Book Part I. The Big Picture Chapter 1. Software Testing Background ...

    udex:适用于Udacity Reviewers的生活质量Google Chrome扩展程序

    udex是Udacity Reviewers的生活质量Google Chrome扩展程序。 重要注意事项:该API最终将被关闭,并且udex将变为非活动状态。 开始使用 导航到我的页面,您可以在其中找到udex项目。 单击安装按钮。 从“中的“ ...

    Programming in Objective-C 2.0

    including Programming in C (Sams, 2004), Programming in ANSI C (Sams, 1994), and Topics in C Programming (Wiley, 1991), and several Unix titles, including Exploring the Unix System (Sams, 1992) and ...

    OSGi in Action

    HIGHLIGHT OSGi in Action is the definitive guide to OSGi, the hottest technology available for creating modular enterprise Java applications. DESCRIPTION What is OSGi? Simply put, OSGi is a ...

    [Apress.J2EE系列].Apress.Pro.JSP.2.4th.Edition.Dec.2005

    Technical Reviewers: Scott Davis and Dilip Thomas Editorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Tony Davis, Jason Gilmore, Jonathan Hassell, Chris Mills, Dominic ...

    delphi_2005_reviewers_guide

    标题:Delphi 2005 Reviewers Guide 描述与标题相同,均为“Delphi_2005_reviewers_guide”,这表明文档旨在为审查者提供关于Borland Delphi 2005的深入指南,它是一款面向Windows平台的完整开发解决方案。 ### ...

    git-reviewers:智能查找代码审阅者

    如果您使用Homebrew,则可以通过安装git-reviewers: brew install albertyw/albertyw/git-reviewers 手册 如果不使用Homebrew,请首先将此存储库克隆到系统上的某个位置(也许在存储库中),然后运行<REPOSITORY>...

    [Objective-C.Phrasebook(2nd,2011)].David.Chisnall.[EPUB]

    iOS开发速查手册 “ I would suggest this book to all iOS developers. ” vbGoz | 3 reviewers made a similar statement “ This is a must-have book for your developer library, whether you are new to ...

    xendesktop-reviewers-guide

    - **创建主镜像和 App Store**:在安装了 Delivery Agent 的主机上创建一个主镜像,这个镜像将作为后续部署机器目录的基础。同时,还需要设置 App Store 来管理应用程序。 ##### Step 2: 创建机器目录 一旦主镜像...

    JSSC-2019-8

    The IEEE Journal of Solid-State Circuits publishes papers each month in the broad area of solid-state circuits with particular emphasis on transistor-level design of integrated circuits. The ...

    JSSC-2019-3

    The IEEE Journal of Solid-State Circuits publishes papers each month in the broad area of solid-state circuits with particular emphasis on transistor-level design of integrated circuits. The ...

    JSSC-2019-5

    The IEEE Journal of Solid-State Circuits publishes papers each month in the broad area of solid-state circuits with particular emphasis on transistor-level design of integrated circuits. The ...

Global site tag (gtag.js) - Google Analytics