Page 1 of 1

wanting to remove the referencing ID IP address

PostPosted: August 25th, 2011, 1:26 pm
by Jane1
Hi,

As of fairly recently, I noticed that the customer's IP address is visible when hovering over the Referencing ID line on the paypal order summary page. I called paypal and they said this is not due to a paypal setting but due to the button being used, so I wanted to ask S2member instead. Since I'm not comfortable having the users IP address come up with their order, so how can I go about removing it?

Thank you.

Re: wanting to remove the referencing ID IP address

PostPosted: August 26th, 2011, 6:04 pm
by Cristián Lávaque
If you don't want to track the user's IP with the PayPal button, you can edit the button's full code instead of using the shortcode for it. In the full code s2Member generates for the button, you'll see a section like this:

Code: Select all
<!-- Identifies The Customer's IP Address For Tracking -->
<input type="hidden" name="on1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1; ?>" />
<input type="hidden" name="os1" value="<?php echo S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1; ?>" />


You can use the full code without those lines, test it and see if it removes the IP from the checkout where you saw it.