User Tag List

Page 13 of 14 FirstFirst ... 3 11 12 13 14 LastLast
Results 121 to 130 of 138

Thread: Android IAP Definitive Guide

  1. #121
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,427
    Mentioned
    227 Post(s)
    Tagged
    4 Thread(s)
    hmm are you using the developer account for testing INAPP, if so, you can not do it, you need to add a tester account and use it
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  2. #122
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    723
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    hmm are you using the developer account for testing INAPP, if so, you can not do it, you need to add a tester account and use it
    No i was using another account, but it's working now, i guess it was just necessary to wait a moment before it works.
    Everything is working fine by now!

  3. #123
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    StrudelCaboodle's Avatar
    Join Date
    Dec 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there a fix yet for the In App Purchase ID's not working?
    - Purchase Id:1 was OK doesn't do anything, but checking to see if the SKU itself was purchased does work. The problem with this workaround, however, is that the - Is SKU "x" purchased? only checks at the start of the frame, so users would have to purchase the item, leave the screen, and come back in order for it to reward them.

  4. #124
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac 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)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,380
    Mentioned
    57 Post(s)
    Tagged
    0 Thread(s)
    then you are doing something wrong.
    it's working fine for me

  5. #125
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    StrudelCaboodle's Avatar
    Join Date
    Dec 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's the code I used that, according to the Android IAP tutorials, should have worked, but didn't:
    +Is Billing Available
    +Only one action when event loops
    -Query Inventory for these SKUs "35kgems"
    -Query Inventory for these SKUs "200kgems"

    +User clicks with left button on [buy 35k gems button]
    -Purchase SKU: "35kgems" with Id:1

    +Purchase Id:1 was Ok
    -Create [success graphic] at (0,0) from [buy 35k gems button]
    -Add 35000 to Funds (global value)
    -Write value to array
    -Save array
    -Consume SKU:"35kgems" with Id:1

    The problem here is that it allows me to purchase the gems (I'm doing test purchases through my developer account, via the internal test rollout on Google Play), but the game doesn't reward the player with them.

    Edit:

    The code that does get the game to recognize that the player purchased the gems goes like this:

    +Is Sku "35kgems" purchased
    +Only one action when event loops
    -Create [success graphic] at (0,0) from [buy 35k gems button]
    -Add 35000 to Funds (global value)
    -Write value to array
    -Save array
    -Consume SKU:"35kgems" with Id:1

    The problem with this, is I have to leave the frame and come back in order for it to activate and reward the player with the 35,000 gems.

  6. #126
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,427
    Mentioned
    227 Post(s)
    Tagged
    4 Thread(s)
    why don't you use on purchase item condition? the previous condition runs once per loop 60 fps seems a lot if the item is purchased also when you consume you must do as first action and not teh bottom this actiosn are asynchronous they don;t stop the runtiem waiting for answer.

    also what version of fusion you are using?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #127
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Can someone help me get subscriptions working? I can sign up, I see the subscription, when I try to join again I am told that I already have a subscription. I'm not sure how to check for a subscription when the app is restarted. I've tried a quite a few things..about a dozen versions, but I'm stuck.

  8. #128
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,427
    Mentioned
    227 Post(s)
    Tagged
    4 Thread(s)
    check your inventory as purchased ditem
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  9. #129
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Jun 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    check your inventory as purchased ditem
    I believe I am doing that. I've attached a screenshot showing my actions checking at start of frame, then what to do if in subscription. I've double checked the sku, I can purchase, but can't seem to "unlock" on restart. You can see I am trying various methods, each if reads as "active" should give me a visual indication on screen (the actions shown on the picture object)

    subscript-shot.jpg

  10. #130
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,427
    Mentioned
    227 Post(s)
    Tagged
    4 Thread(s)
    what do you mean unlock, sorry, can you explain me more?

    BUT if you are consuming a subscription mm that is not correct only inapps, the only way to consume a subscription is time and/or human intervention, user remove the subscription (normally using Google play store) even though he have that item until is consumed by time or you make a refund from google console, then are removed from server and the item is not show anymore.


    https://developer.android.com/google/play/billing/billing_subscriptions.html
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 13 of 14 FirstFirst ... 3 11 12 13 14 LastLast

Similar Threads

  1. Android IAP Definitive Guide
    By Danny in forum Android Export Module Version 2.0
    Replies: 31
    Last Post: 28th June 2015, 05:52 PM
  2. XNA Getting Started Guide
    By JessBowers in forum XNA Export Module Version 2.0
    Replies: 4
    Last Post: 6th December 2012, 07:24 PM
  3. The Definitive Guide to Mochi
    By Jeff in forum News
    Replies: 0
    Last Post: 22nd November 2010, 07:37 PM
  4. Best Guide
    By JollyPanda in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 14th August 2010, 09:13 PM

Posting Permissions

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