How would i go about doing this. After someone clicks on the buy now paypal button and pays, I want it to update my database showing that person paid.

Before they are able to buy they need to make an account on the website, so all i need really is after they pay the just update the pay column to paid or something. I was reading something about Instant Payment Notification would i use that or is there something better?