On purchase finished, pass the complete purchase data to the callback function instead of only passing the product id
Updated documentation
The callback should receive a json object, not a json string
Handle errors when creating JSON object
Merge pull request #46 from sebastien-roch/master

Pass more useful information to callback when finishing purchase