Dynadot โ€” .com Transfer

Paypal IPN

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
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 TransferDynadot โ€” .com Transfer
Truehost โ€” .com domains from $4.99, hosting includedTruehost โ€” .com domains from $4.99, hosting included
Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back