Add working In-App-Purchase code

Commissioned from Freelancer.com