IAPP purchase set up - sandbox testing - Purchase worked but boolean switch not changing!
Hey guys,
I'm trying to sandbox test my new in app purchase but I am having problems getting it to turn my boolean switch to true when the test purchase occurs.
The correct purchase name pops up (so the GS function and product ID are fine).
So I login using the test user account and it states that it is in sandbox mode.
It then says "You've already purchased this, tap ok to download again for free"
So i tap ok and it says...."The in app purchase could not be completed at this time. Please try again later"
My itunes connect settings are :
Non-consumable
Cleared for sale : Yes
Hosting is turned to off - I have no content...
I'm simply trying to get the boolean switch to turn to true upon making the IAPP purchase in test mode so that it unlocks some new features. I didn't want to submit until i knew for certain the functionality is correct.
Can anyone help me with this. I've read all the tutorials on both apple and gamesalad sites and can't figure out why the IAPP test is not working
I'm trying to sandbox test my new in app purchase but I am having problems getting it to turn my boolean switch to true when the test purchase occurs.
The correct purchase name pops up (so the GS function and product ID are fine).
So I login using the test user account and it states that it is in sandbox mode.
It then says "You've already purchased this, tap ok to download again for free"
So i tap ok and it says...."The in app purchase could not be completed at this time. Please try again later"
My itunes connect settings are :
Non-consumable
Cleared for sale : Yes
Hosting is turned to off - I have no content...
I'm simply trying to get the boolean switch to turn to true upon making the IAPP purchase in test mode so that it unlocks some new features. I didn't want to submit until i knew for certain the functionality is correct.
Can anyone help me with this. I've read all the tutorials on both apple and gamesalad sites and can't figure out why the IAPP test is not working
Comments
how does your iAP rule look like?
Alex
I think the iAP rule is fine. I have a secondary testing (manual override) button that on press triggers the boolean switch, that I put in place to make sure there are absolutely no breaks in the logic....
I will make a quick project and try if I get the same error as you okay..
You got a private message.
When testing the app in the viewer and I click the Iapp button and then press "Success" the attribute is triggered. It appears to just not work when sandboxing in the ad hoc build
LycetteBros
August 8th
I have not had an In-App or Restore ever work on an Ad-Hoc build using sandbox. When I hit the button(s) I am asked to login to my sandbox account and it attempts to connect to the iTunes account. It fails at this point. However this has meant that it will work when published - if it at least leaves your app and tries to connect to iTunes I'd see that as a success.
BTW Make sure you are properly logged out of any accounts in iTunes and Gamecenter before logging into the test account. I always log into my sandbox (test) account in iTunes first before testing an AdHoc build.
Hope this helps...it has never been super clear to me either!
"
Looks like the IAP test it isn't meant to work completely and shouldn't switch the boolean in the sandbox mode. I really wish gamesalad could have pointed this out in the documentation!
Is it also something do to with your game center login on your iphone,, who are you logged in as? Is it your test account or not?
@Technoir the product id is obviously working though because it is pulling the correct IAP description from apple, so i didn't see much point altering this but I can try it. I'm logged in as my test account but I did the login by signing out then signing in whilst doing an IAP.
My suggestion is that if it looks like it should be working, it probably will when its live.
But even then, I've never used brackets or quotes or anything like that, so I don't know about @TechNior's method.
Though if you're getting the call to Apple's server, it would appear everything is set up correctly.