website to game

hi is there even a way to take a website and attach it to your game like you have a donation thing on your site and a player donates like $10 so when they get the game. they get something free for donating on the website

There are other factors here, but the short answer is yes. Lets say you are using paypal. Paypal offers a contact service on the back side that tells your web site that someone has paid for something on your site. You simply then update a database for the user, then that data can be transferred over to your game which tells it that that player donated money.