User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: testing IAPs

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    testing IAPs

    Hi,

    Just curious if anyone can shed some light on successfully testing IAPs. Some people say you need to upload a new binary to test an IAP, so say you dont and I can't seem to figure out how to get it to work. I created the IAP yesterday evening, Created a test account for IAPs in itunes connect, and just can't seem to get anything to show up in my game. Any direction would be awesome!

    Thanks,

    Tony

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)
    cfullerNY's Avatar
    Join Date
    Oct 2011
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i can at least help you with the info that you do *not* need to upload a binary to apple to test IAP

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Evilized79's Avatar
    Join Date
    Nov 2009
    Location
    Netherlands
    Posts
    890
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Am about to implement this IAP but a super cool click team manual for nabs would be cool!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So this is what I have going on so far so if anybody sees what i'm doing wrong please let me know

    Itunes Connect side-

    Created a "New Version" (no new binary uploaded)


    Created an IAP with the Product ID - com.mycompany.mygame.2000coins


    Details for the IAP


    Added Test User for IAPs
    Added/Approved the IAP in the new version of the game.


    MMF side (once the IAP is purchased I want to add 2000 coins to a counter called "Coins Counter"

    Main Menu
    + Can Payments be made?
    - Make IAP Store Button reappear

    User selects the store button and it takes you to the IAP menu

    Once in the IAP store I have a menu on the right with buttons for each of the IAPs and a box on the left that shows the details and price (I have a counter named "Cost" to display this) of the selected IAP. I use a variable called "Choice" to keep track of which button is selected.
    + Choice = 1
    [iOS Store]
    - Request information for "com.mycompany.mygame.2000coins"

    [iOS Store]
    + On request response for "com.mycompany.mygame.2000coins"
    [Cost Counter]
    - Set Counter to Product Price

    If the person wants to purchase the item I have a button called "BUY" they can press.

    + User Clicks on "BUY"
    [iOS Store]
    - Request payment for "com.mycompany.mygame.2000coins" quantity=1

    [iOS Store]
    + On payment processed for "com.mycompany.mygame.2000coins"
    [Coins Counter]
    - Add 2000 to counter

    So far nothing happens. The IAP store appears but I can't seem to do anything else in regards to Purchasing or getting info for the IAP

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, as is usually the case....I am an idiot lol I didn't realize that I had the purchase process inside of a Group that I had turned off. I feel dumb but am happy it seems to work now

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Verbage's Avatar
    Join Date
    Dec 2010
    Location
    Lakewood, CO, USA
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DTownTony View Post
    Well, as is usually the case....I am an idiot lol I didn't realize that I had the purchase process inside of a Group that I had turned off. I feel dumb but am happy it seems to work now
    I do this all the time. It's amazing how playing around with stuff can produce a solution.

  7. #7
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Nov 2010
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a working in-app purchase in a game that's been released, so it definitely works. Post again if you continue to run into issues!

  8. #8
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Shmuper's Avatar
    Join Date
    Mar 2010
    Location
    Japan
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey DTownTony. Are there more steps to the Iap purchase to work ? It works when i test it quickly on pc but on the iphone nothing happens. Is this supposed to be fully working like game center sandbox ?

    right now to test the functionality all i did was add the following events :

    event 1______________________________________

    conditions:
    Can payments be made ?
    user clicks on image
    only one action when event loops

    action :
    request payment for xxx.com.company.item1


    event 2____________________________________________

    On payment processed for xxx.com.company.item1
    only one action when event loops

    event :
    set global value item1 to 1
    destroy buy button

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure to have a new version of your app, or a new app, added in itunes connect(you don't need to upload a binary). Also, you have to add the IAPs to the app in itunes connect and create a test account under the account manager..

  10. #10
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Shmuper's Avatar
    Join Date
    Mar 2010
    Location
    Japan
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I added the app to my first version which hasn't been submitted yet. I didn't think I would need to add a new version even if my app hasn't been submitted. I saw yours showing as ready for sale while mine is prepare for sale. I will try adding a new version...

    Also should I use the request product information ?

    Also what is 'Can payments be made ?' what doe sit look for ? Internet connection only ?

    Thanks for your help btw.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Issues With IAPs on OUYA
    By redpandagames in forum Android Export Module Version 2.0
    Replies: 7
    Last Post: 2nd October 2013, 06:27 AM
  2. Restoring multiple IAPs
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 22nd May 2013, 11:41 AM
  3. Using IAPs - Lessons Learned
    By DTownTony in forum iOS Export Module Version 2.0
    Replies: 70
    Last Post: 1st March 2013, 09:25 PM
  4. Transferring IAPs
    By Game_Master in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 15th December 2012, 01:07 PM
  5. Windows Phone 8 and IAPs
    By DTownTony in forum XNA Export Module Version 2.0
    Replies: 3
    Last Post: 7th September 2012, 07:06 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
  •