 |
Results from the most recent live auction are here.
17 members in the live chat room. Join Chat!
| |
07-24-2008, 08:45 AM
|
· #1 | | NamePros Regular | Paypal IPN Hi,
With the Paypal IPN, is it possible to send Custom Variables so that when the return page is shown, the variables are sent so they can be used? |
| |
07-24-2008, 09:02 AM
|
· #2 | | while ($awake){ code(); } Name: Eric Location: Kentucky Join Date: Mar 2005
Posts: 4,237
NP$: 407.00 ( Donate)
| |
| |
07-31-2008, 03:12 PM
|
· #3 | | NamePros Member Location: Los Angeles Join Date: Oct 2007 | You can send on/os pairs.
on0=customername
os0=John+Doe
on1=customercity
os1=Detroit |
| |
07-31-2008, 03:23 PM
|
· #4 | | NamePros Regular Location: mysitememberships.com Join Date: Jul 2005
Posts: 858
NP$: 4237.90 ( Donate)
| afaik, you can only send 2 of those on/os pairs.
or maybe im confusing that with something else? |
| |
07-31-2008, 08:31 PM
|
· #5 | | NamePros Member Location: Los Angeles Join Date: Oct 2007 | I think so.
If thats the case you can also send char delimited data like
os0 = "name|email|address|".... and process back that when you get it. |
| |
07-31-2008, 08:42 PM
|
· #6 | | NamePros Regular Location: mysitememberships.com Join Date: Jul 2005
Posts: 858
NP$: 4237.90 ( Donate)
| yeah that's another option, just use some unlikely symbol between values (just avoid &, !, $, #, |, \, basically all the ones that have special meanings in programming) to be on the safe side. i like to use ~ or even a combination like ^~^ and then use php's explode("^~^", $_POST['os0']) or w/e it would be to split it into an array. |
| |
08-18-2008, 08:04 AM
|
· #7 | | First Time Poster! | when i do it i do something like:
$_SESSION['custom'] = $_SESSION['login'] . '|' . $_SESSION['pass1'] . '|' . $_SESSION['user_email'];
Then on the return I just blow it up! 
$data = $_SESSION['custom'];
list($_SESSION['login'], $_SESSION['pass1'], $_SESSION['user_email']) = explode("|", $data); |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |