I have a PHP form that send the contents to my e-mail. How can I set it up such that once the form is submitted, the customer is taken to PayPal to purchase an item, just as if they'd hit the "Pay Now" button? Thanks!
If you hover over the pay now button it will come up as a url in the bottome left of your browser. You can then send your mail and then use header("location:theurlofwhatthebuynowbuttonis"); Thanks
I need to send one variable to PayPal so that I will know which payment matches each registration submission (in case the payment name is different). Thanks.
header (Location: http://www.paypal.com/pay.php?your=GET&request=here); or, if paypal is working with POST requests rather than GET (sorry my knowledge about paypal), then you need to construct a POST request .. see here http://www.php.net/manual/en/function.http-post-fields.php