Handle purchase receipts through AJAX too.

Improve nonce handling