Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / IP Logging Paypal IP...

IP Logging Paypal IP...

Locked

Started by thehypo on 24 Jun 2006, 7:58 PM · Views: 5,864

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 Jun 2006, 7:58 PM
#1
thehypo avatar

thehypo

Zen Follower

Join Date:
Jan 2006
Posts:
109
Plugin Contributions:
0

IP Logging Paypal IP...

I'm using the Paypal IPN exclusively (though there are some free downloads that require no payment). The orders that pay through Paypal IPN, the 'order' history seem to be logging the IP of the paypal IPN request, not of the user making the purchase. I really need this IP because there are a few people who are reposting my stuff elsewhere. Is there a reason it's logging the Paypal IP? Is there a specific module or process that logs the IP that can be altered to log it at a different point in the purchase process so that it gets the User's IP?

I know this is Paypal's IP because When I buy off paypal myself, it's the IP I see, and initially I banned the IP, which caused the IPN's to stop returning.

24 Jun 2006, 8:38 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,741
Plugin Contributions:
0

Re: IP Logging Paypal IP...

Whar version of Zen Cart are you using?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

28 Jun 2006, 4:29 PM
#3
ses707 avatar

ses707

Zen Follower

Join Date:
Dec 2003
Location:
Astoria, Or
Posts:
342
Plugin Contributions:
0

Re: IP Logging Paypal IP...

To the best of my knowledge this affects all versions of ZC.
On return from PayPal we get the redirect ip instead of the customer ip.
My personal means of dealing with this are to check user tracking when I get a PayPal order and manually input the ip via phpmyadmin (user tracking maintains the correct customer ip until checkout success and order.php).
Would be nice if we could pull the ip from the session prior to the forward to PayPal and then ignore what comes back in the redirect.

1 Jul 2006, 6:44 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: IP Logging Paypal IP...

Actually, you will now see in v1.3.x both IP Addresses ... the starting IP Address and the final ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Jul 2006, 3:33 PM
#5
thehypo avatar

thehypo

Zen Follower

Join Date:
Jan 2006
Posts:
109
Plugin Contributions:
0

Re: IP Logging Paypal IP...

Thanks; I'm avoiding upgrading because it would be a major hassle for me to run an upgrade to such a completely changed system.

6 Jul 2006, 4:07 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: IP Logging Paypal IP...

Well ... don't trust the IP Address when PayPal is used ... that will always be one of PayPal's 27 various IP Addresses ...

You can try installing a test site with the current version of Zen Cart to look how the double IP Address is collected ...

I forget the exact things I did on this ... :cry:

But they are different field names so you could track the new code down and see what you would have to do to gather it for an older Zen Cart in the same manner ...

I don't recall that it was horribly complicated to add, as I needed it asap for someone and added it to Zen Cart as it is a very handy feature ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!