iOS开发笔记(四)InApp Purchase always returning invalid code

Thank you for contacting Apple Worldwide Developer Technical Support. I am responding to let you know that I have received your request for technical assistance.

Your product identifiers may be returned as invalid for one or more of the following reasons:

-You did not complete all the financial requirements (see the "Contracts, Tax, and Banking Information" section of this document).

-You did not use the correct product identifier in your code. See Technical Q&A, QA1329, 'In App Purchase Product Identifiers' for more information about product identifiers.

-You did not clear your In App Purchase products for sale in iTunes Connect.

-You might have modified your products, but these changes are not yet available to all the App Store servers.

-If you or App Review rejected your most recent binary in iTunes Connect.

IMPORTANT: DO NOT upload the development binary to iTunes Connect until the application is ready for App Review approval. If the binary is present in iTunes Connect, App Review will review the binary and likely reject the development binary. Testing In App Purchase will fail if you or App Review reject your most recent binary in iTunes Connect. The workaround in this case is to upload a binary without In App Purchase features that can get approved by App Review. Once the binary is approved, resume testing the binary with In App Purchase features.

The status of your app is "Developer Rejected" according to your "image002.jpg" image. That means that you rejected your binary in iTunes Connect. If you cannot submit an application that can get approved, then you will have to re-upload your binary and create new product identifiers for your products. Since your binary is not ready, you will be getting into a catch 22 situation where App review will likely reject it. To continue testing In App Purchase, you would have to re-upload your binary and create new product identifiers for your products.

You should read the following documents if you wish to implement In App Purchase and let me know if you have further questions:

In App Purchase Programming Guide: Describe how to implement In App Purchase.

<http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction/Introduction.html>

Technical QA1680, Updating from a wildcard App ID to an explicit App ID: Describe how to enable a wildcard App ID to support In App Purchase and Apple Push Notification service.

<http://developer.apple.com/iphone/library/qa/qa2009/qa1680.html>

Technical Note TN2259, Adding In App Purchase to your iPhone Applications: Describe how to set up and test In App Purchase in your iPhone applications <http://developer.apple.com/iphone/library/technotes/tn2009/tn2259.html>

Technical QA1329, In App Purchase Product Identifiers: Describe how to create and use product identifiers for In App Purchase.

<http://developer.apple.com/iphone/library/qa/qa2009/qa1329.html>

转载于:https://www.cnblogs.com/chiniao/archive/2010/09/10/1823398.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值