Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 82

jasonr
Aspiring developer
Profile
Posts: 45
Reg: Jan 14, 2013
California, USA
2,750
04/03/13 04:39 PM (12 years ago)

problem with Easy In App Purchase plugin

I thought I followed all the directions, but this is what I get when I go to the iap screen in my app on my device. http://dl.dropbox.com/u/19036183/photo.PNG Just a green box and a spinning "please wait".
 
Black White
I hate code!
Profile
Posts: 292
Reg: Feb 22, 2012
hanoi
4,770
like
04/03/13 05:14 PM (12 years ago)
hi @jasonr, are you sure Product Identifier in BT cpanel and Product ID iTC is correct ?
 
Tony @ Buzztouch
buzztouch Evangelist
Profile
Posts: 528
Reg: Mar 05, 2011
Saint Louis, Mi...
24,620
like
04/03/13 07:24 PM (12 years ago)
@jasonr Be glad to assist you. Tony Buzztouch.com
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
04/03/13 07:46 PM (12 years ago)
When you get the please wait and the pinwheel of death, it means some or all of your info is wrong. Likely the first of the two and likely only one thing is wrong: The Product Identifier. You also need to make sure that you have your provisioning profiles setup and that your running on a device.
 
jasonr
Aspiring developer
Profile
Posts: 45
Reg: Jan 14, 2013
California, USA
2,750
like
04/03/13 11:17 PM (12 years ago)
I found Bonzo's doc on IAP and sure enough: "Firstly, Make sure your bundle identifier in Xcode, matches the bundle identifier in your itunes connect profile". I screwed up and had the wrong bundle id. Thanks for your help.
 
jasonr
Aspiring developer
Profile
Posts: 45
Reg: Jan 14, 2013
California, USA
2,750
like
04/03/13 11:19 PM (12 years ago)
Next IAP issue: The top nav bar on the IAP screen is covering up the top of the content. What am I missing? Thanks again.
 
Nick Langley
Apple Fan
Profile
Posts: 288
Reg: May 08, 2012
Birmingham, Uni...
11,580
like
04/04/13 02:12 AM (12 years ago)
Is the Nav bar set to "Solid"?
 
jasonr
Aspiring developer
Profile
Posts: 45
Reg: Jan 14, 2013
California, USA
2,750
like
04/04/13 09:17 AM (12 years ago)
Even when nav bar is solid, the iap screen is getting covered up at the top by the nav bar. Another observation is that if I send the app to the background, and then bring it back, it adjusts the screen correctly. But then when I navigate away from the iap screen and come back, it is messed up again. Another observation: I don't use a nav bar anywhere else in the app, but if I do use a solid nav bar on the main menu, then when I go to the iap screen with the solid nav bar it displays properly. So it looks like the only way to use a nav bar is to use it throughout the app, not just on this one screen. That's not what I want to do. Thanks for any insights.
 
Nick Langley
Apple Fan
Profile
Posts: 288
Reg: May 08, 2012
Birmingham, Uni...
11,580
like
04/04/13 09:46 AM (12 years ago)
Man that sounds weird! The only thing I can think of is if your Global theme is contradicting your screens. I.e. you've got a theme set up with a solid Nav Bar or Visa Versa. Have you updated your configtxt? -Nick
 
jasonr
Aspiring developer
Profile
Posts: 45
Reg: Jan 14, 2013
California, USA
2,750
like
04/04/13 09:58 AM (12 years ago)
My theme hides the nav bar, as does every screen except iap. I thought the screen would override the theme, but it is inconsistent. I "fixed" it by going with a translucent nav bar on the iap screen and shifting down the elements in the xib file. Thanks a lot Nick!
 
Nick Langley
Apple Fan
Profile
Posts: 288
Reg: May 08, 2012
Birmingham, Uni...
11,580
like
04/04/13 10:08 AM (12 years ago)
Great Job! If you need anything else, or just someone to bounce an idea off... hit me up. -Nick
 

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.