in app purchase

hey guys...i've got problem with my IAP system....in my app i used request purchased data and after that i put a rule that checks the value of a certain cell in purchase table that tells the state of the app.
in there i used if it contains purchased then do A...but it seems no matter the condition and the value of the cell, it always does A.

should i open the expression field and then type purchased or select the empty field and type it? or it doesn't make any difference?

Comments

  • hoomann210hoomann210 Member Posts: 63

  • ArmellineArmelline Member, PRO Posts: 5,368

    How and where are you trying to actually purchase this item?

  • hoomann210hoomann210 Member Posts: 63

    in my store scene..this image is from an actor in that scene..there is also a rule under the second one ( in picture )which says when this actor is pressed then buy this item

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    Should be "is" purchased.

  • JSprojectJSproject Member Posts: 730

    @hoomann210 just as @RabidParrot wrote it should be "is", since you have "contains" right now the rule will trigger both when the status is "purchased" and when it is "unpurchased" (since contains, as the name suggest, triggers on anything containing the word you specified)

  • hoomann210hoomann210 Member Posts: 63

    @RabidParrot @JSproject thanks guys...i see what you mean and it makes sense...i'll change it to "is" and see what happens

  • hoomann210hoomann210 Member Posts: 63

    @RabidParrot @JSproject i changed it to "is" but when i try testing it in test flight mode after 2 seconds it changes to purchased again..is it because i bought it before with my sandbox user on this device? is there a purchase history somewhere that should be cleaned? cause as far as i can see there is nothing that would fill the table cell with "purchased" expression

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    @hoomann210 said:
    RabidParrot JSproject i changed it to "is" but when i try testing it in test flight mode after 2 seconds it changes to purchased again..is it because i bought it before with my sandbox user on this device? is there a purchase history somewhere that should be cleaned? cause as far as i can see there is nothing that would fill the table cell with "purchased" expression

    Is it consumable or non-consumable?

  • hoomann210hoomann210 Member Posts: 63

    @RabidParrot non-consumable

Sign In or Register to comment.