Problem with IAP in the Viewer (and the Ad Hoc)
I have a fairly basic IAP logic, however when I run it in the viewer I can select: Success, Cancel or Failure. I setup scenes for each one and:
1. Cancel gets to the Cancel scene
2. Failure gets to the Fail scene
3. Success does nothing, it does not go to the Success scene and does not executes the IAP logic
Any ides what might be wrong?
The IAP is based on a table, it is all consumable (adding coins). This is the what I change the attribute to:
game.TotalCoins +tableCellValue( game.IAPTable , self.IAPItem ,2)
The Row (self.IAPItem) is set up correctly, I tried it with an actual number as well.
Column 2 include the value. Even when I change the logic to a number it does not work.
Thanks,
GR
Follow Eating My Hat on Facebook, Twitter and our Blog
Check out my templates in the GS Marketplace or at the store
1. Cancel gets to the Cancel scene
2. Failure gets to the Fail scene
3. Success does nothing, it does not go to the Success scene and does not executes the IAP logic
Any ides what might be wrong?
The IAP is based on a table, it is all consumable (adding coins). This is the what I change the attribute to:
game.TotalCoins +tableCellValue( game.IAPTable , self.IAPItem ,2)
The Row (self.IAPItem) is set up correctly, I tried it with an actual number as well.
Column 2 include the value. Even when I change the logic to a number it does not work.
Thanks,
GR
Follow Eating My Hat on Facebook, Twitter and our Blog
Check out my templates in the GS Marketplace or at the store
Answers
I could easily be wrong but... Does it simply have to do with the fact that iAP won't trigger unless it is actually in the app store?
The viewer allows you to simulate IAP response (success, cancel, fail). The success simulation is not triggered.
Thanks,
GR