How to sell products with Paypal

Hello, I am working on a shop page, however I am not sure how I can make it so people can buy the items from my shop using Paypal. I also need to be able to store which accounts purchased and which product they purchased. How would I do this?