Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 13    Views: 86

BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
05/28/13 12:42 PM (12 years ago)

IAP product identifier?

Can someone tell me what to enter into the "product identifier of your iAP" in the Easy IAP plugin? I've setup IAP in iTunesConnect, ensured StoreKit is added to project, logged out of app store on iPhone4, tried adding the "Apple ID" and the "Product ID" from iTunesConnect IAP into the Easy IAP in control panel, but all I get is a spining circle and a dulled screen for the IAP screen in the app. And yes, IAP is enabled in the settings on the iPhone4 :-) Getting closer to submitting this app, finally, if I can figure out these little details :-) Cheers
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
05/28/13 02:15 PM (12 years ago)
Did you enable IAP for this version in itc?
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
05/28/13 02:27 PM (12 years ago)
Hi, it's your product ID EXACTLY the same as the product ID you created in ITC (com.xxxxxx.xxxxxxx.quizname)
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/28/13 02:44 PM (12 years ago)
@MadRod. You mean the Bundle ID in ITC for the IAP? I just tried that and it didn't work. Where exactly did you find that for your IAP? @trouty. Not sure what you mean. I added 1 In-App Purchases for this app in iTunesConnect. The app has not been submitted to Apple yet since I want to test the IAP with the test user I created first. Wish someone would write up a dummy's guide for this step. Any other suggestions? Cheers
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
05/28/13 03:00 PM (12 years ago)
Yes the product ID, found in the Manage IAP purchases in ITC
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/28/13 03:18 PM (12 years ago)
@trouty. OK, thanks about adding the IAP to the app. I selected and added the IAP to the app. Still no luck with the IAP screen. @MadRod. LOL. The bundle id is not the same as the product id. I've tried both in the plugin. Still no luck.
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/28/13 03:29 PM (12 years ago)
I believe the value you need to enter into the plugin is either the "Product ID" or the "Apple ID" from ITC for that particular IAP. I only have one in app purchase for the whole app. But none of these work. I don't think you need to actually submit the app for review by Apple before the IAP works, right? Thanks
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/28/13 03:59 PM (12 years ago)
Also, do you need to generate a shared secret for the IAP in ITC? Cheers
 
Red Dog
buzztouch Evangelist
Profile
Posts: 805
Reg: Jun 16, 2011
Southern Califo...
18,800
like
05/28/13 04:28 PM (12 years ago)
 
Rad Doc
Apple Fan
Profile
Posts: 653
Reg: Oct 08, 2010
USA, NYC
8,580
like
05/28/13 07:02 PM (12 years ago)
Steve, Do not generate a shared secret. This is used when releasing auto-renewable subscriptions. What i do for my in app purchases is enter the following in both iTunes connect and the plugin. Under Product ID i start at IAP001 and work my way up with every IAP I add.
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/28/13 11:13 PM (12 years ago)
@Red Dog. Thanks, I will check out that doc to see if I missed any steps. @Rad Doc. Thanks, I didn't mess with that setting, and will try your settings. Cheers
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
05/28/13 11:26 PM (12 years ago)
Ok, I'm going to clear up a couple of questions. You DON'T need to generate a shared secret. And it's the "Product Identifier" from your iAP you've created in iTC. It should look something like "com.xxxxxx.quizname".
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/28/13 11:59 PM (12 years ago)
@theMonster. Thanks, but it looks like the problem was that the bundle id I was using in Xcode did not match the bundle id of the app! I fixed that and now the in app purchase is working :-) My boo boo. But, how do I get rid of the purchased screen? I don't want users to see that screen after they've already made a purchase. Thanks
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
05/29/13 12:27 AM (12 years ago)
quick screenshot showing Easy IAP screen and ITC screen for others' benefit https://www.dropbox.com/s/qh8fm0linm8k10z/easyIAP.png
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.