My client wants to offer a simple payment mechanism to the visitors of his website. The idea is simple: he prepares a link to a specific page, the link contains the amount the visitor has to pay, the link is sent to the visitor (e.g. by mail), the visitor clicks OK and then control should be transferred to PayPal where the actual transaction is handled in a secure way.
Example of a URL (simplified):
When the link is clicked, a page opens, asking the visitor to click OK if everything is correct,
Here's what I don't know, where it becomes fuzzy for me, and where I need your help.
When OK is clicked, the server should put a lot of data in an HTML form (presumably) and send it to PayPal. PayPal then handles the transaction and reports back OK or Not OK.
Can this be done, and if so, how? Documentation? Good PHP examples??