Whats wrong with this iap?

ChechesoftChechesoft Member, PRO Posts: 171

My Android users are being charged the fee, but the iap does not get activated in the app... it seems the problem is only in Android devices. Do you spot any problem?

Comments

  • ClockClock Member Posts: 308
    edited November 2015

    try put Product ID in Purchase Table,

  • ChechesoftChechesoft Member, PRO Posts: 171

    IYes, I am using it... thats where the Text expression "purchased" is coming from.

  • I sometimes have issue with rules using the expression. I'd maybe make a variable "purchasecheck" change it to "tablecellvalue...."

    then make the rule IF purchasecheck = purchased

  • ClockClock Member Posts: 308

    you were doing it wrong. consume item rule goes first, so it can trigger the Table Purchase rule.

  • gingagaminggingagaming FREELANCE GS DEV Member Posts: 1,685
    edited November 2015

    Couple of things I've picked up on.

    1. ensure the consume purchase ID is written in the field and not in the expression editor.
    2. Take the Consume out of the timer. GS has a bug that some rules do not fire if placed second or third onwards in a row and the timer is less than 0.4 seconds.
    3. Also check that you have selected the check box in your purchase table to mark it consumable

    If I was to set this up, I would not write the product ID in the field either (but for your example above it should in in the field - Just to confuse things!). I would personally reference it in the expression editor like the demo in my screenshot below. This ensures it is enter correctly and no spelling mistakes of errors contained. But this is my personal way of doing things.

  • ChechesoftChechesoft Member, PRO Posts: 171
    edited November 2015

    Thanks!. The thing is, it works flawessly in iOS, the issue only appears on Android.... Thats weird.
    Anyway, Ill try your suggestions

  • ChechesoftChechesoft Member, PRO Posts: 171

    @Clock said:
    try put Product ID in Purchase Table,

    It is already, in a previous rule, when the buy button is pressed it activates the Buy item behaviour

  • ChechesoftChechesoft Member, PRO Posts: 171

    @gingagaming said:

    Thanks for the video... I used it originally for all my purchase system. I follow it step by step, and as I said, it works flawlessly on iOS, the problem appeared only in Android devices...
    I will try and test a little more and try to catch what is wron... I will report my findings if any..

    Thanks so much to all

Sign In or Register to comment.