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>

你可能感兴趣的:(Invalid)