sun-tzu 0 Light Poster

I have been working over the past week on a shopping cart script. What I can't seem to find out is how to make the checkout page. I want it to send the list of products, the total, and the address of the customer to PayPal and then have PayPal post a success message to another server side script that will take them to a thank you page.

Any tips?