iOS開發筆記(四)InApp Purchase always returning invalid code

來源:互聯網
上載者:User

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>

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.