in app purchase
hoomann210
Member Posts: 63
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
How and where are you trying to actually purchase this item?
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
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
Should be "is" purchased.
@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)
@RabidParrot @JSproject thanks guys...i see what you mean and it makes sense...i'll change it to "is" and see what happens
@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?
@RabidParrot non-consumable