hovergames/avalon — pull request #27 by michaelcontento (2013-05-28 00:21:28+00:00)
Title: Fix platformId selection in payment::Loader

The old `#if`/`#else`/`#endif` evaluated always to `true` because cocos2d hasn't been imported. :laughing:

Changes in this PR:
* The right id is used
* Fixed a bug with products without any type
* Fixed a bug with products that have an invalid type

**Important**:
* `googlePlayId` changed to `androidGoogleId`
* `amazonId` changed to `androidAmazonId`