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.
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
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)
thank you :)
Hi Milbo,
maskIP=0 is not working, any idea of why?
Thanks.
You must re-save the Configuration from admin interface after adding the variable in virtuemart.cfg.