IAP - Buy Item Simply not working
Striderzet
Member, PRO Posts: 17
I have tried many many things to get this to work. from changing the case size, logging in as a sandbox user changing provisioning profiles, a whole bunch of etc..
all i am trying to do is induce the action by touching a button to activate "buy item" and it does nothing in adhoc testing or sand box test flight testing.
i have been at this for a while, has anyone else faced this issue? any help or tips will be appreciated.
thanks.
Answers
@tony.buckner26@gmail.com have u tried it without the attribute condition? or when touch is pressed instead of released?
@tony.buckner26@gmail.com u have 3-4 conditions which has to be met in order it to be triggered..r u sure all of them are met? have u used log debugger behavior?
@hoomann210 the conditionals are met when i press it. i am trying to change the release to pressed now. hope it works.
Where is the callback attribute being checked?
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Yes, the request for purchase data should be "naked" if I'm not mistaken, i.e. not inside a Rule or anything else.
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
it is called at the beginning of the actor as soon as it appears on screen. i put a show text in there and on adhoc testing it returns a 1 every time.
Have you tried setting up test purchases?
http://developer.android.com/google/play/billing/billing_testing.html
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
this issue is happening on iOS.
I see. Who do you have set up to process your iap's?
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
just me. i made a sandbox tester using an email+email@email.com, but thats not working either. my mobile provision is good for IAP and sandbox testing, but still no dice. i am almost at the point of frustration here.
This video might help you:
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
i see that and have followed this instructions. i have even setup a simple button just to see if it works and no dice:
There could be 100 things wrong, really, and I'd have to see the file to give any real advice.
However, a common problem is the Buy behaviour's Purchase ID, the Purchase ID in the table and the Purchase ID set up in iTunes Connect not all matching. Check they're all the same.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
they are:
the funny thing is when i try it on viewer it throws an error saying "buy item is not supported on viewer" so i know it doing something.
Afraid it would really take looking in detail at the file and your implementation to likely pin this down. Could be so many things.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Im using GS 13.22 and trying with ID "android.testing.purchased" , is it normal that i need to press buy everytime i restart the game to activate the iap (maybe because it is offline testing)
Homepage: freneticgamez.eu/
https://play.google.com/store/apps/developer?id=FreneticGamez
Same problem is occurring for me too. I have been trying to get the purchases work in Ad hoc testing but whenever I press my in app purchase button, nothing happens. I can only see the request purchase data turn to 1. even though I have followed GameSaladGuru's videos. I hope there is nothing in Xcode that I have to setup other than copy the .app file to my device.
Are you pushing the build to your phone using TestFlight?
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
No @Armelline This is the procedure that I do:
1. Open Xcode
2. Window > Devices
Once my device appears there, I see a + icon below my bought apps. I can delete and install .app files there. When I press the + icon I choose my .app file and the game gets copied.
I hope I am not doing anything wrong here.
Thanks.
@Shahrukh_1810
You can only test in-app purchases with TestFlight.
Mental Donkey Games
Website - Facebook - Twitter
I have the same problem as well.
I am having some problems with test flight on my device so I tried test fairy to download and install my app, but still the in app purchase buy item button doesn't trigger anything on my iphone 5. I have even logged out of all accounts on my mobile phone.
I'll try doing testflight on my iphone 6 device after work but first wanted to ask something about testflight. In order to upload the game to Itunes connect, should I press the "Deliver your app" button in Application loader(Only for testing) or is there any other way? I even watched Armelline's video last night to setup in app purchases but I need some help in testing in app purchases only. If there is any simulator, I can even work with that.
Thanks.
Are you sure you have the purchases actived in itunes connect?
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
TestFlight is literally your only option to test IAP, unfortunately. Until you test using that, you'll not know for sure what's working and what's not.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
I test mine just fine without test flight. Simply drag the adhoc .app to my device with Xcode and test everything i need.
Fortuna Infortuna Forti Una
Including IAP? As IAP never used to work and that's been tested and confirmed by numerous forum users. Hopefully that's changed, though!
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Its the way i have tested mine for a year now.
Fortuna Infortuna Forti Una
I always got mine to work without using testflight. Sandboxing was always available. In my videos i show it with the new system. Those were always straight installs.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Thanks for the replies guys, I just tested uploading my app to application loader and it is showing ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.shahrukh.myapp [myApp.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
Infact, I checked my certificate and everything else, and my provisioning profile is active but still this problem persists. Let me know if there is any solution to this.