graham23s Posted March 2, 2008 Share Posted March 2, 2008 Hi There Guys, i have the paypal payment sytem all sorted, i'm wondering if its possible if i can send the customers id to paypal (so when they send it back i can store it in mysql along with the order details) thanks guys Graham Quote Link to comment Share on other sites More sharing options...
MasterACE14 Posted March 2, 2008 Share Posted March 2, 2008 yep, thats possible, I had to do a similar thing with a IPN script. if you have a look at the PayPal documentation for IPN scripts and payments etc, you can see if you use a payment button without encryption you can add a 'custom' field. basically this is it: <input type="hidden" name="custom" value=""> so you can use it like this: <input type="hidden" name="custom" value="<?php echo $_GET['custom']; ?>"> or this: <input type="hidden" name="custom" value="<?php echo $_SESSION['userid']; ?>"> its pretty straight forward, download the paypal payments PDF file if you need any more info. Regards ACE Quote Link to comment Share on other sites More sharing options...
graham23s Posted March 2, 2008 Author Share Posted March 2, 2008 Brill it worked a treat thanks ace. Graham Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.