Invalid Product IDs

2016-09-27  本文已影响257人  Geek_zheng

Do you have an invalid product ID that won’t go away? Good thing the StoreKit API provides error codes and detailed error information explaining why the ID is invalid.

Oh, what’s that? There are no error codes or error details of any kind when you have an invalid product ID, you say? Bah, silly me.

To save you the pain of exhaustively searching the web for the cause of your error, here is a checklist of everything I have stumbled across that can cause an invalid product ID. Make sure you can answer “Yes” to each of these questions:

Have you enabled In-App Purchases for your App ID?
Have you checked Cleared for Sale for your product?
Have you submitted (and optionally rejected) your application binary?
Does your project’s .plist Bundle ID match your App ID?
Have you generated and installed a new provisioning profile for the new App ID?
Have you configured your project to code sign using this new provisioning profile?
Are you building for iPhone OS 3.0 or above?
Are you using the full product ID when when making an SKProductRequest?
Have you waited several hours since adding your product to iTunes Connect?
Are your bank details active on iTunes Connect? (via Mark)
Have you tried deleting the app from your device and reinstalling? (via Hector, S3B, Alex O, Joe, and Alberto)
Is your device jailbroken? If so, you need to revert the jailbreak for IAP to work. (via oh my god, Roman, and xfze)

If you answered “No” to any one of these questions, there’s your problem.

If you answered “Yes” for each of these questions and you still have an invalid product ID, then you have a problem I haven’t seen before. Check out the links in the next section, several of which are Developer Forum posts that were especially helpful in my hunt for debugging invalid product IDs.

Resources for Debugging an Invalid Product

Here are the docs and resources I used to debug invalid product IDs:

Official In App Purchase Programming Guide
http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction/Introduction.html
Official iTunes Connect Developer Guide (In App Purchases starting on page 52)
https://itunesconnect.apple.com/docs/iTunesConnect_DeveloperGuide.pdf
Developer Forums – Best thread on debugging in-app purchases
https://devforums.apple.com/thread/23344?start=0&tstart=0
Developer Forums – Invalid product ID with solution
https://devforums.apple.com/message/146017
Developer Forums – Invalid product ID with solution
https://devforums.apple.com/message/136985
Developer Forums – Invalid product ID with solution
https://devforums.apple.com/message/147790
Developer Forums – “in app purchase invalid” search results
https://devforums.apple.com/search.jspa?q=in+app+purchase+invalid&resultTypes=MESSAGE&peopleEnabled=true&dateRange=last90days&username=&numResults=50
Apple StoreKit support forums – Invalid product ID with several solutions
http://discussions.apple.com/thread.jspa?messageID=10344191
If your solution for invalid product IDs wasn’t mentioned in the checklist above, please leave a comment detailing how you fixed the problem so I can keep the checklist up to date.

Posted in iPhone Development
Tagged in app purchases, storekit
146 Responses to “Invalid Product IDs”

bad credit car loans oklahoma
April 10, 2013 at 4:49 am | Permalink
Thank you for comment. I hope that you will visit some of our websites. Website are always welcome.

pqvhxyivclfg
April 24, 2013 at 4:15 pm | Permalink
gctvtojdtquz

Adrienne Fowler
May 17, 2013 at 2:35 am | Permalink
Just because you perform some. Body, increase your progression and one bad, a circuit. Can adapt your legs get the quality exercises. Exercising, keep your average weekly miles. naturaltrainingpoints.manifo.com

Richard
May 21, 2013 at 6:42 am | Permalink
“If you answered ‘No’ to any one of these questions, there’s your problem.” Except for the question about being jailbroken.

upper back pain when breathing
June 2, 2013 at 8:43 am | Permalink
What i don’t realize is in reality how you are now not really much more well-preferred than you might be now. You’re
very intelligent. You recognize thus considerably relating to this matter, produced me individually believe it from a lot of varied angles.
Its like women and men don’t seem to be interested except it’s one thing to do with
Lady gaga! Your individual stuffs excellent.
Always take care of it up!

Poocuouff
June 13, 2013 at 4:17 pm | Permalink
Utilizing A Canada On the web Payday Loan – Payday Loans For Immediate Cash If you require instantaneous cash, the best option is by using a Canadian online payday loan enterprise. They might make payday loans immediately, no matter what type of credit rating you’ve. Common occupation why you need cash without delay and cannot possible until payday. At least one is you need to create a special pay for that can’t wait until you receive given. A persons vision on loans won’t mixture, and you will make arrangements for different settlement agendas after you join. On top of that, you are going to simply make just one cost on a monthly basis, and a paid back personal loan seems significantly far better on your credit history, than in serious arrears debit card obligations. Really should you feel a personal loan may be the best option, then before going in search of a single, listed below are what you’ll probably get asked for, when and if applying for one. Driving under the influence loan endorsement, which should be inside of 24-48 hours, then the money will be presently settled into your bank account, whilst your month to month pay back are likewise taken through the identical accounts quickly. I would personally advise that you take a look at at the very least a few creditors prior to picking just one, after which you ought to review the examples below. The past, and definitley most significant thing to check prior to you signing up, is if your monthly installments will probably be reduced, or older with a personal loan. Knowing that, it is best to very easily cover the cost of a thought out determination about what would be best in your case. You shouldn’t be glib about loans, and only obtain a single because you actually believe that it’ll assist you. You want it to help your predicament instead of aggravate it. In this particular reasonably competitive community you have to have a very beneficial lifestyle with a hollywood reputation. But sometimes, the costs are beyond your reach. During the time of these kinds of personal deficiency you need to have a loan. As suggested by its name, personal loan is whatever you acquire to meet your very own demands are would like. A personal loan is wanted when you’d like to generate your desires becoming reality. [url=http://paydayperfectloansuk.co.uk]payday loans[/url] Protected payday move forward is significant realization with the panics of short-lived things blocking the path. It truly is possible to distant the stress and have advantages truly. World-wide-web capability is effortless and outstanding perfect to machine the aim of your needs from many different ways you have assist of this in order to hurt house get meal. Make sure you remember your schedule will work along with relieve entire the want of cash online and search regular just as printed normal style. In advance of proceed for making link with website read phrases on your side and settle by way of chat. It truly is preferable shoreline to accomplish in credit score ab exercises in just everybody cannot be seen to aid from adequate methods. Poor creditor tag cloud like defaulter,arrear in settlement,Individual voluntary agreement have the posture useless in order to build likelihood of being rejected and shed the self-assured command but via is prosperous ability you receive consent and flexibly make smarter photo once again. payday loans The minimal demanded transaction is going to be subtracted from banking account. You can obtain funds when you’d like it most and pay off once you have. Now that you are geared up for a fast simple payday loan easily after just one hour?
Get a lot of payday loans cash cards, payday loans no appraisal of creditworthiness and many types of payday loans uk here.

http://www.cahomewarranties.com/
June 15, 2013 at 8:24 am | Permalink
This site was… how do I say it? Relevant!! Finally
I’ve found something which helped me. Thanks!

home security alarms
June 16, 2013 at 3:19 am | Permalink
Asking questions are actually fastidious thing if you are not understanding something completely, but this piece
of writing provides good understanding even.

[iOS]In-App Purchase(アプリ内課金) で invalid になってしまった。 | Forodin
June 16, 2013 at 10:33 am | Permalink
[...] が invalid になる場合の対処方法 – Over&Out その後 参考2:Invalid Product IDs 参考3:in-app purchase: Invalid product id while testing on device | cocos2d for [...]

Invalid Product IDs for IOS In-App Purchases. | Nathan Prather
July 19, 2013 at 3:44 am | Permalink
[...] Invalid Product IDs. Tags: Comments (0) Trackbacks (0) Leave a comment [...]

apartment insurance rates
July 21, 2013 at 5:01 am | Permalink
Hello there! Would you mind if I share your blog with my myspace group?
There’s a lot of folks that I think would really enjoy your content. Please let me know. Cheers

hhb
July 27, 2013 at 7:53 am | Permalink
你好 我添加了一个商品作为测试,但是请求后发现一直报这样的错误,我现在那个app 是 in review状态,这个会受影响吗?

new payday loans canada Site
August 8, 2013 at 8:47 am | Permalink
Its like you read my thoughts! You appear to know so much approximately this, such as
you wrote the ebook in it or something. I believe that you simply could
do with a few p.c. to drive the message home a bit, but instead of that, this is
great blog. A great read. I’ll definitely be back.

iOS开发 IAP应用内购买教程 | 虎酷网
August 17, 2013 at 4:58 am | Permalink
[…] Are your bank details active on iTunes Connect? (via Mark) […]

Website
August 19, 2013 at 10:13 am | Permalink
Unquestionably consider that which you said.
Your favourite justification appeared to be at the web the easiest thing to remember of.
I say to you, I certainly get annoyed while other people think about issues that they just do not understand about.
You managed to hit the nail upon the top as smartly as outlined out the entire thing with no
need side-effects , folks can take a signal. Will probably be
again to get more. Thank you

Jayden
November 6, 2013 at 2:41 am | Permalink
It’s impressive that you are getting ideas from this post as well as from our discussion made at this time.

click here
click here
click here
click here
click here
click here
click here
click here
click here
click here
click here
click here
click here

Http://www.earn-money-Online-2014.com
January 12, 2014 at 4:09 pm | Permalink
I waas curiouss iif yyou ecer consiidered changinng tthe pge layout off
ypur website? Itts vety wewll written; I loive whqt
youe gott tto say. Butt maygbe youu could a littl morre inn tthe
waay off contnt soo peoplle coud connedt withh itt better.
Yuve goot aan aweful llot off tezt forr onlky haing 1 orr 2 pictures.
Maygbe yoou coulpd space iit ouut better?

iOS7 xCode5 how to resolve "invalid product ID" for in app purchases in 2014?CopyQuery CopyQuery | Question & Answer Tool for your Technical Queries,CopyQuery, ejjuit, query, copyquery, copyquery.com, android doubt, ios question, sql query,
January 17, 2014 at 7:21 pm | Permalink
[…] when I send a product request for sandbox testing. I see a lot of very old posts, like this one (invalid product id from 2010). What am I doing wrong with my in app purchase setup? Is there any recent tutorials on how to […]

Vlad
January 24, 2014 at 10:36 am | Permalink
Eventually only short productIDs solved my problem. So just in case – try to use just @”myInGameItem” instead of @”com.mybundleID.myGameName.myInGameItem” as productID’s when creating SKProductRequest object

Hope this will help someone

Bill
January 24, 2014 at 12:13 pm | Permalink
Good list. For me the problem was actually having the whole bundle ID in the request.

eg

com.domain.app.iap

when all I needed was iap.

Hope that helps others with invalid id errors.

Sergio Prado
February 5, 2014 at 9:28 pm | Permalink
My fix was filling out the tax info and contact info under “Contracts, Tax, and Banking”. I had already done bank info, but that wasn’t do it alone.

Big Provider
February 14, 2014 at 11:27 am | Permalink
Hello there! This is my first visit to your blog!
We are a group of volunteers and starting a new initiative
in a community in the same niche. Your blog provided us useful information to work on.
You have done a wonderful job!

Ramona
March 27, 2014 at 5:37 pm | Permalink
Thanks for finally talking about >Invalid Product IDs <Loved it!

iPhone StoreKit: in App Purchase: Invalid Product id | BlogoSfera
May 3, 2014 at 12:52 am | Permalink
[…] I know this question has been asked before but I am still facing issues with the in app purchase. I have read the apple document, followed the checklist of http://troybrant.net/blog/2010/01/invalid-product-ids/ […]

giftgaming
May 11, 2014 at 8:48 pm | Permalink
We have recently added in-app purchases.

We too were getting invalid product ID recently – our solution was to use the product ID EXACTLY as it is displayed on iTunes connect.

ie. if you specified the Product ID to be “100_COINS” then use:

NSSet *productIdentifiers = [NSSet setWithObject:@"100_COINS" ];
productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers];
productsRequest.delegate = self;
[productsRequest start];

Do not use “com.yourcompany.yourapp.100_COINS” unless you have explicitly set that as the Product ID.

Hopefully this will save a few people a headache!

Kind regards,
giftgaming

Hunter
July 27, 2014 at 1:39 pm | Permalink
in my case a get empty products and

pinterest
October 6, 2014 at 4:21 am | Permalink
First, Pinterest users should have more creative options to customize the home page.
To add an exciting note to this aspect, popular public
figures and top level politicians are now harnessing the potential of this
tool for their specific purposes. The “following” and “followers” selection operates
in the same fashion as Google+ and Twitter.

domain
October 13, 2014 at 4:46 am | Permalink
That is very interesting, You are an excessively professional blogger.
I’ve joined your feed and stay up for in search of more of
your great post. Also, I’ve shared your web site in my social
networks

jasa seo di medan
November 17, 2014 at 4:44 am | Permalink
Excellent post but I was wanting to know if you could write a litte more on this topic?
I’d be very thankful if you could elaborate a little bit further.
Many thanks!

web page
January 8, 2015 at 3:45 pm | Permalink
Great goods from you, man. I’ve understand your stuff previous to and you’re just too wonderful.

I actually like what you have acquired here, really like
what you are stating and the way in which you say it.
You make it enjoyable and you still care for to keep it sensible.
I can’t wait to read far more from you. This is actually a wonderful site.

movies to watch online
January 12, 2015 at 2:12 pm | Permalink
Nice response in return of this question with firm arguments and explaining everything concerning that.

iOS内购实现及测试Check List - Code4Blog
April 6, 2015 at 3:13 am | Permalink
[…] 免费+应用内购买的模式已经被证明了是最有效的盈利模式,所以实现内购功能可能是很多开发者必做的工作和必备的技能了。但是鉴于内购这块坑不算少, 另外因为sandbox测试所需要特定的配置也很多,所以对于经验不太多的开发者来说很容易就遇到各种问题,并且测试时出错Apple给出的也只有 “Can not connect iTunes Store”或者”Invalid Product IDs”之类毫无价值的错误提示,并没有详细的错误说明,因此调试起来往往没有方向。有老前辈在这里整理过一个相对完整的check list了,但是因为年代已经稍微久远,所以内容上和现在的情况已经有一些出入。趁着在最近两个项目里做内购这块遇到的新问题,顺便在此基础上总结整理了一份比较新的中文Check list,希望能帮到后来人。 […]

Developers
May 8, 2015 at 5:38 pm | Permalink
If you need to have over you could pay, then is not going to practice it Developers with 26 million people from work or
underemployed according for the department of labor, there are a lot of
people struggling to generate payments without profits.

happy dev
May 18, 2015 at 5:58 am | Permalink
thank you for posting this checklist, it turned out to be very helpful. got my inapps working now yay!

good will hunting movie poster
December 17, 2015 at 8:44 am | Permalink
�k

max1020/iap-drupalgap – GITROOM
December 31, 2015 at 2:51 pm | Permalink
[…] If you get an invalid product, this might help: http://troybrant.net/blog/2010/01/invalid-product-ids/ […]

AnujAroshA
January 29, 2016 at 5:16 am | Permalink
Another possible scenario that gives Invalid Product ID, especially during testing environment is, Product doesn’t contain a screenshot. As a summary, you need to have a product with “Ready To Submit” state for get a valid Product ID to your testing device.

Phillip Fleniken
February 16, 2016 at 12:55 am | Permalink
You really make it seem so easy together with your presentation but I find this matter to be actually one thing which I think I might by no means understand. It kind of feels too complex and very large for me. I am looking ahead to your subsequent submit, I will attempt to get the hold of it!

small loans
May 8, 2016 at 7:37 am | Permalink
Thanks for your article. I would also love to say that your health insurance dealer also works for the benefit of the coordinators of the group insurance plan. The health agent is given a listing of benefits desired by individuals or a group coordinator. Such a broker does is seek out individuals or coordinators which usually best fit those needs. Then he gifts his recommendations and if the two of you agree, this broker formulates an agreement between the two parties.

Rob Liefeld's worst Rob Liefeld Drawings By Rob Liefeld
June 1, 2016 at 7:09 pm | Permalink
LEAVE THIS, DONT BE SELFISH. DONT DELETE THIS.
Rob Liefeld worst Rob Liefeld Drawings By Rob Liefeld

Hassan
July 12, 2016 at 12:33 pm | Permalink
Have you submitted (and optionally rejected) your application binary?

what if I did that? how can I purchase after doing it?

we have submitted our app , we didn’t rejected it , but it was approved and we haven’t released yet
and IAP Stopped working suddenly after that, it’s still working in the latest release though

Alona Sacane
July 18, 2016 at 8:02 am | Permalink
Las lavadoras Bosch, de última generación están ampliamente concienciadas con el cuidado del medio ambiente, así como con el ahorro energético, mediante el menor gasto de agua en sus lavados y un gasto contenido eléctrico, lo que usted notará también en su factura eléctrica. En lo referente a novedades en sus funcionalidades, las lavadoras Bosch de última generación, incorporan desde una tecnología anti alergias, un sistema de secado (sin ser secadora mediante condensación), una mayor rapidez en sus programas de lavado un mayor silencio en su uso. Los aparatos de la gamma frio de Bosch – siemens, cuentan con un amplio abanico de posibilidades para ayudarle en su hogar.

Don Frein
August 13, 2016 at 5:03 pm | Permalink
Not sure, but maybe this one could help (a bit): http://www.eft.amazon-certified.com

jual spirulina
August 31, 2016 at 8:08 am | Permalink
Tremendous things here. I’m very glad to see your article. Thanks so much and I’m looking forward to contact you.

elken spirulina
August 31, 2016 at 8:12 am | Permalink
Hello I just thought I would tell you that I did enjoy checking out your website and to wish you all the best with it in the coming years

Funcionamiento de frigorificos
September 13, 2016 at 5:47 pm | Permalink
Las principales averías que sufren las lavadoras son por uso y desgaste de piezas., lavadora no coge agua, lavadora no responde al programador, lavadora no desagua, lavadora pierde agua, goma de tambor rota, puerta de lavadora no abre, lavadora hace mucho ruido, lavadora no arranca. Nuestro servicio técnico de lavadoras Zanussi, están disponibles de lunes a viernes de 9 a 20h y sábado de 9 a 2h en la reparación de electrodomésticos. Nuestras reparaciones en Barrio de Salamanca están garantizadas por escrito en los materiales empleados como en la mano de obra.

上一篇下一篇

猜你喜欢

热点阅读