In-App purchase: Do we have to use the change attribute within?

Hi there,
So I'm trying to get in app purchase working within my game. I feel like everything is working correctly, however when I'm trying to test with my test account, everything isn't going through properly. I'm not sure if this is simply due to the way I have the test account set up, or if I actually have done something incorrectly within Gamesalad.
Anyway, as I try to figure out what the issue is, I do have one question. Is it required that we use the change attribute within the in-app purchase behavior? The reason I ask is that I'd rather not use it. The attribute I'd like to change is not a boolean, so I'd rather just modify the value I need to modify on my own, after the purchase is complete.
Also, I just wanted to ask about your experiences testing IAP with the test account. I get as far as it correctly asking if I am sure I want to purchase the item. Then it prompts me to log in to my itunes account. The fact that I've gotten that far indicates to me that I have everything set up correctly. However, as I continue moving forward, I am eventually taken to iTunes, asked to verify my account set up etc. Then eventually it just leaves me in iTunes.
Has anyone else seen this? I'm thinking I just have the test account set up incorrectly, rather than the behavior in Gamesalad.
Thanks very much for your help!
So I'm trying to get in app purchase working within my game. I feel like everything is working correctly, however when I'm trying to test with my test account, everything isn't going through properly. I'm not sure if this is simply due to the way I have the test account set up, or if I actually have done something incorrectly within Gamesalad.
Anyway, as I try to figure out what the issue is, I do have one question. Is it required that we use the change attribute within the in-app purchase behavior? The reason I ask is that I'd rather not use it. The attribute I'd like to change is not a boolean, so I'd rather just modify the value I need to modify on my own, after the purchase is complete.
Also, I just wanted to ask about your experiences testing IAP with the test account. I get as far as it correctly asking if I am sure I want to purchase the item. Then it prompts me to log in to my itunes account. The fact that I've gotten that far indicates to me that I have everything set up correctly. However, as I continue moving forward, I am eventually taken to iTunes, asked to verify my account set up etc. Then eventually it just leaves me in iTunes.
Has anyone else seen this? I'm thinking I just have the test account set up incorrectly, rather than the behavior in Gamesalad.
Thanks very much for your help!
Comments
But about the Change attribute , YES !!! You must change attribute when using IAP!
If its a none=consumable item , then you MUST use a boolean ,
And if its a consumable item , you need a numeric type of attribute (integer , real , index)
You can't ignore this and i highly recommend not to publish your game to apple if you are not 100% sure everything works !
The tutorial is very understandable , so i suggest you follow its instructions step by step :
http://cookbook.gamesalad.com/tutorials/5
P.S
It is possible that the problems you have in your "test account" is caused by the lack of using the IAP behavior properly .
Cheers
Roy.
I just made a dummy boolean attribute and stuck it in there, that solved the issue. Its strange to me that they are forcing us to use a boolean there.
But at any rate, you were exactly right, there does have to be a boolean attrib plugged in, and it also solved my itunes problem. Thank you very much!