Testing In-App Purchases - Issue!

colburt187

  • *
  • Posts: 2244
But the app still builds to the device even with the error?

Just to try something try changing the minimum version to 9.3 then build.

LarsAsen

  • Posts: 118
But the app still builds to the device even with the error?
Correct.

Quote
Just to try something try changing the minimum version to 9.3 then build.
Changed it, but same problem :(

colburt187

  • *
  • Posts: 2244
I think the developer disk image error thing could be the issue with the iAP but I'm not sure what that is about.

LarsAsen

  • Posts: 118
okay, can i email you the file so you can look at it?

Or do you recommend me to do anything else?

colburt187

  • *
  • Posts: 2244
Yeah e-mail it over, but I'm pretty sure the disk image thing is going to be related to provisional profile and certificate set up.

You have the p12, provisional profiles, app id set up correctly yeah?

LarsAsen

  • Posts: 118
Yeah e-mail it over, but I'm pretty sure the disk image thing is going to be related to provisional profile and certificate set up.

You have the p12, provisional profiles, app id set up correctly yeah?

All should be set up correctly. I emailed the file to you, need to sleep now. Will try again tomorrow.

Thanks for the help.

Best regards

robinschaafsma

  • *
  • Posts: 652
Hi,

The error you get should not be relevant for the issue you get, when you publish this error should not be exist anymore.

Be sure you Apple Id is added to Sandbox Testers page on Itunes Connect (Users and Roles).
You can test it by logout from your Itunes account on your device, so when you click the buy button, the device ask you to log in.
If this is the case, buy works, but you have to login with you Sandbox account to make the purchases in test mode.

Hope this is the case,
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



LarsAsen

  • Posts: 118
Hi,

The error you get should not be relevant for the issue you get, when you publish this error should not be exist anymore.

Be sure you Apple Id is added to Sandbox Testers page on Itunes Connect (Users and Roles).
You can test it by logout from your Itunes account on your device, so when you click the buy button, the device ask you to log in.
If this is the case, buy works, but you have to login with you Sandbox account to make the purchases in test mode.

Hope this is the case,

Hi! I have made an account on the Sandbox testers page (made one up because it wasn´t possible to use my own. (See attached image)

I have already loged out from my iTunes account on the device. The thing is when i press the buy button, absolutely nothing happens. it don´t want me to log in or anything. it´s like the button have no action attached to it.

I noticed a error(?) in the app build details on iTunes connect. See the second attached image.


best regards

« Last Edit: December 05, 2016, 08:26:49 am by LarsAsen »

robinschaafsma

  • *
  • Posts: 652
Ok can you share the logs from Xcode when you click the button, so we can see what message it gives when you click the button.
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



LarsAsen

  • Posts: 118
Ok can you share the logs from Xcode when you click the button, so we can see what message it gives when you click the button.

Yes of course.  Do u mean the Device logs in Xcode?

robinschaafsma

  • *
  • Posts: 652
Ok can you share the logs from Xcode when you click the button, so we can see what message it gives when you click the button.

Yes of course.  Do u mean the Device logs in Xcode?

Yep..
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



LarsAsen

  • Posts: 118
Okey, does this say anything to you? :)

log Attached.

hairyfingers

  • Posts: 110
Try and test via Test Flight in iTunes Connect.  I've always found  that much more reliable for testing iap

https://developer.apple.com/testflight/

Also I've never managed to get those black attribute blocks to work on iOS I just reference the product ID as text or refer to some other attribute like the title from the product info.  So your "when info request succeeds" won't work

Also rather than using your "when created" event  use the purchases event "when player can purchase goods"

Hopefully helpful. Keep persevering iOS is a bloody nightmare


robinschaafsma

  • *
  • Posts: 652
Okey, does this say anything to you? :)

log Attached.

This is an crash log did you game crash? I need the console log
http://stackoverflow.com/questions/24484817/how-to-get-device-console-in-xcode6 (same as in xcode8)
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl