Process postback for anonymous purchase

Testing this requires the patch in pull request #2114 (so you can ignore that part of the diff). They don't really depend on each other though. You may want to wait until I rebase.