Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal IPN 2.3.4 + Order IP Recorder 1.6


sLaV-

Recommended Posts

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!

Link to comment
Share on other sites

  • 2 years later...
  • 1 year later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...