Handle purchase receipts through AJAX too.
Improve nonce handling
Merge pull request #6 from jdevalk/master

Handle purchase receipts through AJAX too.