Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 37    Views: 118

Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
03/07/13 07:05 PM (12 years ago)

Can somebody using the In App Purchase Plugin v2 confirm something for me?

Hi, I just had an app rejected so I'm trying to resolve the issue. The reason was that on the IAP screen, the Buy and Restore button doesn't do anything when pressed. I'm sure it's something I'm doing on my end but I can't seem to figure it out. It's happening on two of my apps. I can actually test this using the iOS simulator. I know you can't test it end to end but it goes far enough to test my issue. If someone could do a sanity check for me, that would be great. If you have an app using the IAP plugin v2, you can test it by using the simulator using any iOS version except for the iPhone iOS 6.0. That’s the only version that the IAP plugin works for me. Continue to your Locked screen. Click on the Buy or Restore button. If they don’t do anything, then you have re-created my issue. If you press either button and the screen comes up asking you to login to an existing account or create a new one in the sandbox, then it’s working for you. Thanks for any help.
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
03/07/13 07:40 PM (12 years ago)
So the first problem is that your testing in the simlator. Even though it's possible, it SHOULDN'T ever be done. Also, you should probably check that your nickname is 100%. Also check your product ID. -tM
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/07/13 08:06 PM (12 years ago)
Hey tM, Thanks for replying. Using my real iphone 3GS running iOS 6.0, it works as advertised. Using my real iPad running iOS 5.1, it is exhibiting the problem. I will check my Nickname and my product ID. What doesn't make sense to me is that it is working on my iPhone 3GS...
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
03/07/13 08:08 PM (12 years ago)
I believe it might be because I'm accessing an API that requires iOS 5.0+. However, that should keep your 5.1 device from running it. If it's not the 1st gen iPad, try updating it. -tM
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/07/13 08:33 PM (12 years ago)
The apple reviewer said they tested it on an iPad 3 and an iPhone 5 running iOS 6.1 and saw the problem and had to reject it.
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
03/07/13 08:44 PM (12 years ago)
@Jerry hmm... just tested it, working fine. It must be one of your settings. Or perhaps you need to re-download the code?
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/07/13 08:51 PM (12 years ago)
that's what I figured...that it would be working you and everyone else. thanks for the help. I will keep fighting through it..I'm sure it's something simple.
 
Tony @ Buzztouch
buzztouch Evangelist
Profile
Posts: 528
Reg: Mar 05, 2011
Saint Louis, Mi...
24,620
like
03/07/13 09:30 PM (12 years ago)
I had it working on my app. I just updated all my plugins and recomplied and soon as I load plug app crashes. Scratching my head on this one. Monster????
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/07/13 09:31 PM (12 years ago)
sorry to cut in here, but just to confirm..the Easy IAP plugin only works on iOS 5.0 and up correct?
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/07/13 09:33 PM (12 years ago)
@Tony - have you re-downloaded your project since they rolled out the new compatibility updates? I had the exact same issue as you and realized it's because all of the Buzztouch project/plugin code has been completely overhauled, so it's no longer compatible with projects that were downloaded before the rollout
 
Tony @ Buzztouch
buzztouch Evangelist
Profile
Posts: 528
Reg: Mar 05, 2011
Saint Louis, Mi...
24,620
like
03/07/13 09:35 PM (12 years ago)
I got it the other day. when it came on. I will check again. though thanks. Tony
 
Tony @ Buzztouch
buzztouch Evangelist
Profile
Posts: 528
Reg: Mar 05, 2011
Saint Louis, Mi...
24,620
like
03/07/13 10:09 PM (12 years ago)
Jerry I reDL and installed. Recomp and BAM! Let us know if you need anything else. Tony Saint Louis, Missouri Buzztouch.com
 
Tony @ Buzztouch
buzztouch Evangelist
Profile
Posts: 528
Reg: Mar 05, 2011
Saint Louis, Mi...
24,620
like
03/07/13 10:09 PM (12 years ago)
PS Thanks Absentia! :) Tony
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
03/07/13 10:25 PM (12 years ago)
Yeah make sure you guys re-downlaod and re-compile. Also make sure your running on the latest version of Xcode and I recommend using the highest level of iOS possible. ------ AND DON'T FORGET TO ADD THE STOREKIT.framework! ------- @Absentia for sure, iOS 5.0+ is required. It might be 5.1+ can't remember. -tM
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/07/13 10:42 PM (12 years ago)
Tony, I'm glad you got yours working... I re-downloaded and re-complied. StoreKit is present. Let me try upgrading to the latest version of Xcode...
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
03/07/13 11:42 PM (12 years ago)
Jerry This is a bug and something theMonster missed when releasing it. He mentions it in another forum post somewhere and the fix will be in the next version. The buttons basically don't have nothing linked to them on the iPad xib. I had exactly the same problem. You have to connect them back to the purchaseItem process and it works fine. If this makes no sense then let me know and ill try and explain in more detail although I'm a total novice myself :) But if I can fix it, anyone can!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
03/08/13 03:09 AM (12 years ago)
Yes as Bonzo stated the bug is in the button connection. As theMonster stated he would have to updated in the next release. Otherwise it doesn't work right out of the box for iPad.
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/08/13 07:33 AM (12 years ago)
@Bonzo & @mysps You guys might have just saved my sanity. :-) I will go look for that thread in the forum... Thanks! @mysps, I clicked on your location, Palma, since I didn't know where that was. Wow...that seems like a great place to live. :-)
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
03/08/13 07:52 AM (12 years ago)
Oh Yeah! Man id better go write that bug down somewhere. -tM
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
03/08/13 07:53 AM (12 years ago)
i got lose to only releasing for iphone before i found the solution! ipad still responds funny, easpecially when you rotate device. logo dissapears off screen when you go landscape, then if you go portrait again it comes back longer. i had to tamper and move things around alot to get it working so it looked nice
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
03/08/13 07:56 AM (12 years ago)
Hey @Bonzo could you send me your fixed .nib files? I may just update the plugin with those if your okay wit it.
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
03/08/13 08:02 AM (12 years ago)
i can but i have moved buttons around etc etc. i dont have it working where i can see the logo in landscape you may want to have a look yourself
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/08/13 08:03 AM (12 years ago)
Bonzo, Is this the fix you implemented? ------------ Thanks. FYI I made the following adjustments in my in app iPad .xib and the BT settings for background showed correctly and the purchase and restore buttons initiated the appropriate action. (not sure if this will universally apply) Very excited for this plugin! 1) For the main view (under objects) for the ipad .xib, show the attributes inspector and change the background from white to "clear color" like the iphone .xib. 2) For the same ipad .xib, go to the connections inspector, click on the purchase and restore buttons individually and adjust connections to match those of the iphone .xib.
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
03/08/13 08:04 AM (12 years ago)
that is exactly it !
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/08/13 09:11 AM (12 years ago)
@theMonster, Once you release an update for this plugin, does it get approved right away or does BT have to review it first?
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/08/13 09:14 AM (12 years ago)
Hi Bonzo, I'm playing around with this .xib file to see how to change the settings. Is it a matter of highlighting the object, right clicking and then the settings should be somewhere around the menus that appear?
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/08/13 10:09 AM (12 years ago)
@Bonzo, Update...I think I found it. Thanks again. Have a nice weekend..
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/08/13 12:26 PM (12 years ago)
@theMonster, Could you please include the rotation issue on the next iPad update as well? I'm seeing what Bonzo reported where the IAP logo goes away and then comes back after it's rotated. The headline text also gets messed up too. It's a great plugin-- adds many possibilities to your BT apps.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/08/13 01:20 PM (12 years ago)
I'm glad I came across this thread..thanks for the info guys
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
03/08/13 01:27 PM (12 years ago)
@Jerry defiantly. Don't expect the update anytime soon however.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
03/08/13 02:31 PM (12 years ago)
@theMonster -- the changes are difficult to add are they? Just for others who don't want to touch code. I have no problem but I doesn't exactly work properly for the iPAD unless users are required to make changes. just curious..
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/08/13 08:27 PM (12 years ago)
hmm now I'm wondering why my control panel changes are being reflected on my iphone simulator but not on my iPad simulator (such as the background image) edit: NEVERMIND - I just saw this was already mentioned
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/08/13 08:49 PM (12 years ago)
On another topic, I am the only one who is finding the "restore" button to be working a bit sloppily? I hit restore and it asks me to enter my password - I enter my password, it loads for a second, and then ask me to enter my Apple ID and password all over again before finally loading up the IAP
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/08/13 09:53 PM (12 years ago)
I just tried it again. It didn't ask me to login twice but it took a while for the text from itunes to return. I might try loading a description from my URL instead of ITC to see if it helps.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
03/08/13 10:19 PM (12 years ago)
Well, one thing I'm trying to figure out is how to show a message when somebody who hasn't purchased an IAP tries to restore it - something like, "You have not yet purchased this product.". Currently when somebody who hasn't purchased tries to restore, it just goes back to the IAP screen with no message Maybe I'm being a little OCD, I just like to have all of my bases covered before sending stuff of for review
 
Jerry
Aspiring developer
Profile
Posts: 51
Reg: Aug 07, 2012
Dallas
3,160
like
03/08/13 10:31 PM (12 years ago)
Let me know if you get that working... that would be useful.
 
Golfba11
Apple Fan
Profile
Posts: 95
Reg: Feb 21, 2013
Belllingham
950
like
04/26/13 08:15 PM (12 years ago)
HOW do you change the iPad.xib files to the same connections as the iPod.xib?? I can open the connections inspector but how do I change them??
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
06/03/13 10:05 PM (12 years ago)
Has this issue been fixed in the plugin or do we still need to apply these changes to get IAP working on the iPad? It works for me on iPhone4 but not on iPad3 and both are using the latest iOS and app is compiled for iOS 6.0. I downloaded the source only a few days ago. Thanks ------- Thanks. FYI I made the following adjustments in my in app iPad .xib and the BT settings for background showed correctly and the purchase and restore buttons initiated the appropriate action. (not sure if this will universally apply) Very excited for this plugin! 1) For the main view (under objects) for the ipad .xib, show the attributes inspector and change the background from white to "clear color" like the iphone .xib. 2) For the same ipad .xib, go to the connections inspector, click on the purchase and restore buttons individually and adjust connections to match those of the iphone .xib.
 

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.