AIR native extension for in-app purchases on iOS and Android