sLaV- Posted July 14, 2008 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
sLaV- Posted July 14, 2008 Author 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
sakkiotto Posted August 25, 2010 Posted August 25, 2010 Never mind got it working :) hi... can u help me? where i can insert 'ipaddy' => $ip, 'ipisp' => $isp, ??? Quote
s0nny61 Posted October 6, 2011 Posted October 6, 2011 Yes, please post how you got it to work, I need it as well. Quote
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.
Note: Your post will require moderator approval before it will be visible.