Coding in-app purchasing in your game