IAP non-consumable starting as true
AngryBoi
Member Posts: 586
I have followed the video, and the cookbook guide to setup my non-consumable IAP, but in the end, as the game starts, my No Ads attribute changes to true. It is only supposed to change to true once the table text changes to purchased, but it does it at the start. My guess is that my table starts of as purchased... Or, does testing IAPs only work in AdHoc?
Comments
Sounds like you have made a mistake somewhere with your "NoAds" attribute. A simple "display text" behaviour on the start up screen will show if the item is showing as purchased (which I doubt) by pointing it at column 5 of the correct IAP row in the IAP purchase Table. If its showing as blank or not purchased then you have something else triggering the attribute by mistake.
@gingagaming That's what I was thinking too, so I made a new attribute for no ads and started the process over. It still switches to try instantly.
Does anyone think that it may be because I am using the game salad preview screen? To test this, do I have to be on adhoc?
The new in-app purchases do not work in the viewer, unless you make extra testing actors.
The attribute should not switch for no reason, there is either a problem with your code or you are using the old deprecated behaviors.
Fortuna Infortuna Forti Una
This is a pic of the coding, I made a new no ads attribute just to know for sure if there wasn't something else changing it to true. I think for sure that its instantly changing to purchased because when I delete the rule to change the no ads to true, it stays false. But when the.
Use touch is pressed instead of released
Fortuna Infortuna Forti Una
@Lovejoy I did as you said, but it is still starting as purchased. It has to be, otherwise my no ads attribute wouldn't be true...
If you want, send me your project file so i can so i can look at it. Strip it down if want, or see if someone you know can look at it.
Fortuna Infortuna Forti Una