How can I trigger an event / code when user comes back from PayPal payment?

I'm using the Pay Per View plugin to protect premium content on some posts. (Most things work great.) Is it possible to trigger an event / code when the user comes back from PayPal (after successfully paying)? Using $_POST or $_GET maybe? I am trying to store info regarding which posts each user has paid for. Thanks!