News:

Looking for documentation? Take a look on our wiki

Main Menu

ip address not fully saved when order is placed. 83.45.77.xx?

Started by carsten888, April 10, 2015, 10:49:59 AM

Previous topic - Next topic

carsten888

When an order is placed, the ip address of the client is stored as 83.45.77.xx. I need the real ip adress, without the xx.

By law we need to be able to prove to the tax office from which country the client purchased the product. So the full ip address needs to be stored in the db. Without the xx, so we can calculate which country the user is from. With the xx, this does not work in software like geoip. https://www.maxmind.com/en/geoip-demo.

Why are some ip addresses in table #__virtuemart_orders this value: '2xx'?

How to fix that? I can't find any setting for that.

Milbo

It is not something to fix !
It is mandatory in most countries. http://en.wikipedia.org/wiki/Information_privacy you can disable it, using an hidden option for it, which you must set by config file
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

The variable is maskIP, just write maskIP=0 to the virtuemart.cfg and store your vm config one time (in vm3, else check the FAQ)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/


m.davide82

Hi Milbo,

maskIP=0 is not working, any idea of why?


Thanks.

Jumbo!

You must re-save the Configuration from admin interface after adding the variable in virtuemart.cfg.