IOS development Note (4) inapp purchase always returning Invalid code

Source: Internet
Author: User

Thank you for contacting apple worldwide developer technical support. I am responding to let you know that I have received ed your request for technical maintenance ance.

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 wowould have to re-upload your binary and create new product identifiers for your products.

You shoshould read the following attributes 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

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>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.