NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Paypal IPN

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-24-2008, 09:45 AM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Aug 2006
Posts: 288
jakeruston will become famous soon enoughjakeruston will become famous soon enough
 



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?
jakeruston is offline  
Old 07-24-2008, 10:02 AM   #2 (permalink)
Senior Member
 
Eric's Avatar
Join Date: Mar 2005
Posts: 4,948
Eric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatness
 

Member of the Month
MOTM September 2005
Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Animal Rescue Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Baby Health Cancer Alzheimer's Protect Our Planet Cancer Survivorship SIDS Child Abuse Diabetes Protect Our Planet Multiple Sclerosis Autism Adoption Special Olympics
https://www.paypal.com/IntegrationCe...reference.html
Eric is offline  
Old 07-31-2008, 04:12 PM   #3 (permalink)
NamePros Member
Join Date: Oct 2007
Location: Los Angeles
Posts: 105
aras is on a distinguished road
 



You can send on/os pairs.

on0=customername
os0=John+Doe
on1=customercity
os1=Detroit
aras is offline  
Old 07-31-2008, 04:23 PM   #4 (permalink)
Senior Member
 
nasaboy007's Avatar
Join Date: Jul 2005
Location: NJ
Posts: 1,219
nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of
 



afaik, you can only send 2 of those on/os pairs.

or maybe im confusing that with something else?
nasaboy007 is offline  
Old 07-31-2008, 09:31 PM   #5 (permalink)
NamePros Member
Join Date: Oct 2007
Location: Los Angeles
Posts: 105
aras is on a distinguished road
 



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.
aras is offline  
Old 07-31-2008, 09:42 PM   #6 (permalink)
Senior Member
 
nasaboy007's Avatar
Join Date: Jul 2005
Location: NJ
Posts: 1,219
nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of
 



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.
nasaboy007 is offline  
Old 08-18-2008, 09:04 AM   #7 (permalink)
First Time Poster!
Join Date: Aug 2008
Posts: 1
IGiveMoney is an unknown quantity at this point
 



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);
IGiveMoney is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 06:44 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger