Question about Restore In-App Purchase

pepemorenopepemoreno Member Posts: 13
edited August 2012 in Working with GS (Mac)
Apple rejected our latest submission for our game on the basis that we have In-App Purchases, but we did not have the interface to restore the purchases.

When it came time to test it on an ad hoc build, the purchase itself works fine, but the Restore button (with Game Salads Restore IAP function) seemingly does nothing. I was wondering if the restore function did not necessarily work in an ad hoc build/with a sandbox account, or if I did something wrong.

Comments

  • Dazza006Dazza006 Member Posts: 248
    edited August 2012
    @pepemoreno

    Hi yes all you need to do is add a restore in app purchase button.
    When you push the button when testing it should come up with a message saying this is when you will go to restore in app purchase.
    have you looked at the Id in restore and that it is exactly the same.
  • pepemorenopepemoreno Member Posts: 13
    The ID is the same. I made an ad hoc build, and the purchase works correctly and everything.

    The problem comes in when I try to restore the purchase: It prompts me for my (sandbox) user password, but when entered, it does not restore the purchase.

    Is it possible to test the restore function with an ad hoc build?
  • lycettebroslycettebros Member, PRO Posts: 1,598
    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!
Sign In or Register to comment.