Unstoppable Domains

Paypal IPN

Spacemail by SpaceshipSpacemail by Spaceship
Watch

jakeruston

Established Member
Impact
6
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?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
0
•••
You can send on/os pairs.

on0=customername
os0=John+Doe
on1=customercity
os1=Detroit
 
0
•••
afaik, you can only send 2 of those on/os pairs.

or maybe im confusing that with something else?
 
0
•••
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.
 
0
•••
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.
 
0
•••
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);
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back