User Tag List

Results 1 to 8 of 8

Thread: Restoring multiple IAPs

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Restoring multiple IAPs

    I have 2 IAPs and a single restore button.

    When I try to restore the IAPs and the AppStore user was logged out in the device settings, it seems I have to login for every single item. First I have to enter the UserID and the password, after that the password is requested again. Am I missing something or is it supposed to work this way?

  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,455
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Hmm it shouldn't do that.
    Has anyone else also noticed this behavior?

  3. #3
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    I have toroughly tested IAPs in my project, but I can't remember such a behaviour. Jochen, maybe you didn't type the password correctly the first time? Or maybe this problem happens with sandbox accounts only?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Checked it many times, everything works fine if a sandbox user is currently logged in. But if not, I always have to login twice.

    Also checked my conditions to make sure I don't have multiple restore commands:
    User clicks restore button
    + Can payments be made
    + Only one action when event loops -> Restore transactions

    So far I only had a single item to restore, so I can't say if this problem is new or has always existed. I don't like to submit with such a strange behaviour, there's a good chance the IAP items become permanently invalid if the game is rejected. Has anyone successfully submitted a game with multiple IAPs, using the latest official MMF build?

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Update: I dared to submit this version and it passed review successfully. Maybe the reviewers didn't check this specific situation, I still doubt they'd accept it.

  6. #6
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    3,010
    Mentioned
    21 Post(s)
    Tagged
    2 Thread(s)
    Funny you should mention this, when I tested one of Popcorn's pre-release games it also did this. It was something to do with Sandbox mode iirc but I don't know too much about the specifics. Maybe Popcorn can shed some light on it...

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can't release the update right now, would be interesting to see if it's really just a sandbox issue.

  8. #8
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    After more tests I can confirm that there is a problem when restoring multiple IAPs. But I experience something different than what JoKa reported. When I try to restore multiple IAPs it simply doesn't work. Whether I'm logged or not not into a sandbox account, the behaviour of my app is the same. After I click on my 'Restore' button this is what happens:

    1. Dialog asks for identifier/password only once
    2. "Restore payment finished" fires

    I was expecting the following to trigger, but nothing:
    - "On payment restored for iap1" does not fire
    - "On payment restored for iap2" does not fire
    - No error number/string returned by the iOS Object

    This problem does not happen if I'm using a Sandbox account under which only a single IAP was purchased. I'm currently using MMF2 Dev Build R257.10 (Unicode) iOS exporter beta 9.

    JoKa, I think that our problems are related to using a Sandbox account. I am pretty confident that the reviewers at Apple do test first and foremost the IAPs features of any submitted app. So if your app was approved, it must behave as it should. To make sure of this you could try to buy/restore the IAPs with the live version of your application. I'll be doing this myself as soon as my app gets approved.

    EDIT: I wanted to add that I was able to restore multiple IAPs, not by using the 'Restore' feature of the iOS Store object, but by trying to purchase them again. After the first identifier/password dialog, I get a second one telling me that I have already purchased this item and asking if I wish to download it again for free.
    If live applications also behave like this, they certainly do, then this would help if the restore feature proves to be really broken.

Similar Threads

  1. restoring control to a joypad once unplugged?
    By Blackwolfdave in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 21st June 2012, 10:42 AM
  2. Restoring Payments
    By BHGames in forum iOS Export Module Version 2.0
    Replies: 10
    Last Post: 2nd August 2011, 09:14 PM
  3. restoring original colors of an active?
    By brawltaunts22 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 5th February 2011, 03:20 AM
  4. Restoring animation
    By pnekdo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th March 2010, 04:36 PM
  5. Restoring the cursor
    By gregw in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 2nd March 2007, 07:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •