This google checkout script includes a function which generates buttons on the fly. The samples will teach you a number of different ways to integrate google checkout buttons. A working thank you page,
aka the return url, is also included in the script. Instant Payment Notification (IPN) is also handled in the free script.
After you have downloaded the zip file, you will need to upload its contents to your web host (must support PHP, most do). Using FTP or whatever you normally use to get files onto your host.
Upload the files to any directory, and view example.php in your browser. Edit the example.php and other files to customize and improve your checkout pages.