I'm looking for a best practice/ideas for modifying the status/data of a page after an event.
Here's an example of what I'm trying to accomplish - This WordPress site would allow users to sponsor people (just one sponsor per person). Each person that is eligible for sponsorship has their own page, which is created via a custom content type I created called "People". That's all the easy part, it's just a basic page that give descriptive information about the person looking to be sponsored. You can then go to PayPal and pay to sponsor them.
Now, the part I need help with is after they have paid and get sent back to the site how could I trigger the status of that now sponsored person's page to switch to "Sponsored". So, that no one else tries to sponsor them. I'm assuming I should go about this with Hooks, Actions and Filters, though, I haven't used them much.
Anybody have any thoughts on how to accomplish something like this? If I had the basics I could take it and run with.