Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 18    Views: 67

Higgey
buzztouch Evangelist
Profile
Posts: 393
Reg: Sep 07, 2011
West Midlands
13,530
06/13/14 05:51 AM (10 years ago)

Easy In-App Purchase Not Working

Hi everyone, I'm trying to implement Easy In-App Purchase created by theMonster in an iOS project. I get a screen displaying my purchase image button (along with restore button) and the image appears to "click" when pressed but nothing happens. I've added store kit to the project and had a look at the iAP implementation guide over at apple. I've signed out of my normal apple account on my device using the Settings options, and set up a Test User. Under the plugin's option "Enter the product identifier of your iAP" I've tried entering each of the Reference Name, the Product ID and the Apple ID as shown in iTunesconnect. I'd be grateful to know which one is correct to use, please. I think it's Product ID but I'd be grateful for confirmation. Deployment Target is set to 5.0 This is a test project to learn how to use this plugin and I'm just trying to deliver a pdf file as the product. I'd be most grateful for some advice on why to do, please. Many thanks. John (From a rather pleasantly sunny UK).
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
06/13/14 09:46 AM (10 years ago)
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
06/13/14 09:53 AM (10 years ago)
What device you testing on? Steve (Also from a rather pleasantly sunny UK).
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
06/13/14 09:58 AM (10 years ago)
Steve, I tried some of the enhancements you put together for IAP when we were on BT 2. I last looked about 5 months ago, but I didn't get very far. Do you still use IAP and do you know if there any issues with BT 3.0/ IOS 7?
 
Angry Ninja
Aspiring developer
Profile
Posts: 1045
Reg: Aug 25, 2013
Maine
17,150
like
06/13/14 10:17 AM (10 years ago)
I tried in app purchase in Bt 3.0 a few months back and couldn't get it to work either. I tried contacting the author and no response. As far as I can tell, it does not work with 3.0
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
06/13/14 10:25 AM (10 years ago)
I've been out of the scene for a while and not done a 3.0 app yet. Will give it a go and report back
 
Higgey
buzztouch Evangelist
Profile
Posts: 393
Reg: Sep 07, 2011
West Midlands
13,530
like
06/13/14 12:19 PM (10 years ago)
Thanks for all of your responses. I've put a message into the plugin developer and I'll let you know what he says. I tested on an iPad. I'll go and read the thread kindly suggested by AlanMac. I'll be most interested to see how you get on, Bonzo. Thanks everyone for the comments. I'd appreciate any other thoughts that might shine some light on this. John (Still sunny in the UK - weird, but great).
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
06/13/14 12:22 PM (10 years ago)
The iPad xib had issues with BT2.0 The buttons were not connected to their actions and you needed to amend the xib to link them back up. Try it on an iPhone if you have one. That was always ok
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
06/13/14 11:16 PM (10 years ago)
Guys, working fine for me on 3.0. Testing on my iPhone.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
06/14/14 03:10 AM (10 years ago)
@Bonzo, cheers, you do more for the support of this plugin than the author. Thanks for letting us know it works with BT 3. Do any of your published enhancements work for BT 3 as well? I am not a coder and when I moved to BT 3.0 that is where I came unstuck with IAP, when I tried to make changes, I saw compile errors.
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
06/14/14 03:47 AM (10 years ago)
I've only tested standard plugin (out of the box) with BT3.0. Enhancements that I did in 2.0 I've not tried
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
06/14/14 04:23 AM (10 years ago)
Well, it is just great to know it works with 3.0. Much appreciated and thanks again.
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
06/14/14 04:26 AM (10 years ago)
Let me know if you want me to take a look at anything for you.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
06/14/14 04:34 AM (10 years ago)
Cheers @bonzo. I am not doing anything with IAP at the moment, but now I know the plugin is still good, maybe I will - an idea might jump out at me! 6 months ago I was working on an app where I used IAP to unlock a menu that provided extra features. I recall that after paying, the user still had to see an IAP page before getting to the 'paid for' menu, which I thought was a bit naff. If my memory serves, you'd come up with something that bypassed that step once the user had paid, which I thought was a great enhancement for usability. Alan
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
06/14/14 04:36 AM (10 years ago)
I'll be trying to do that again for 3.0. If I work it out then I'll post. I'm not a coder though so I suprised myself last time when I worked it out lol
 
Higgey
buzztouch Evangelist
Profile
Posts: 393
Reg: Sep 07, 2011
West Midlands
13,530
like
06/16/14 04:21 AM (10 years ago)
Thanks for your input, especially Bonzo. I've tried the plugin on v3.0 using an iPod and it appears to work. I'm going to take a look at it again this afternoon. Where were you diving around in the code to link the buttons, please, Bonzo?
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
06/16/14 04:44 AM (10 years ago)
It's in the plugin folder for the easy in app purchase. You should see an XIB file for iPad which needs to be fixed
 
Higgey
buzztouch Evangelist
Profile
Posts: 393
Reg: Sep 07, 2011
West Midlands
13,530
like
06/16/14 05:29 AM (10 years ago)
Many thanks, Bonzo.
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
06/16/14 05:30 AM (10 years ago)
Keep me posted
 

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.