NameSilo

Paypal IPN

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
Close
You can send on/os pairs.

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

or maybe im confusing that with something else?
 
0
Close
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
Close
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
Close
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
Close
CatchedCatched

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back