Jump to content

Sending users session id to paypal


graham23s

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.