sLaV- Posted July 14, 2008 Share Posted July 14, 2008 Hi, We have had Order IP recorder 1.6 installed on our site which was working great then we installed Paypal IPN 2.3.4 and ofcourse since the paypal module bypasses checkout_process.php Order IP Recorder no longer works. I have gone as far as adding the values of the IP recorder to the database: 'ipaddy' => $ip, 'ipisp' => $isp); But the problem is I cant get the values in $ip and $ipisp .. in the original checkout_process.php file this is needed to be added to the top of the file: $ip = $HTTP_SERVER_VARS["REMOTE_ADDR"]; $client = gethostbyaddr($HTTP_SERVER_VARS["REMOTE_ADDR"]); $str = preg_split("/\./", $client); $i = count($str); $x = $i - 1; $n = $i - 2; $isp = $str[$n] . "." . $str[$x]; I tried adding this right before the SQL command in the file paypal_ipn.php but it didnt work ... Anyone got these to work together?? I'm just having a hard time working out how the two IPN files ipn.php and paypal_ipn.php work together & how they bypass the checkout_process.php file.. ANY help would be appreciated...cheers! Quote Link to comment Share on other sites More sharing options...
sLaV- Posted July 14, 2008 Author Share Posted July 14, 2008 Ok how bout a more generic question..how do I grab the value from ipn.php in paypal_ipn.php ?? Anyone?? Cheers Quote Link to comment Share on other sites More sharing options...
sLaV- Posted July 15, 2008 Author Share Posted July 15, 2008 Never mind got it working :) Quote Link to comment Share on other sites More sharing options...
sakkiotto Posted August 25, 2010 Share Posted August 25, 2010 Never mind got it working :) hi... can u help me? where i can insert 'ipaddy' => $ip, 'ipisp' => $isp, ??? Quote Link to comment Share on other sites More sharing options...
s0nny61 Posted October 6, 2011 Share Posted October 6, 2011 Yes, please post how you got it to work, I need it as well. Quote Link to comment Share on other sites More sharing options...
Guest Posted December 5, 2012 Share Posted December 5, 2012 yeah please share... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.