Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
rudebox (Guest)
rudebox (Guest)
Despite a few issues and slow responses from "support", I'm very pleased with the overall functionality and flexibility of Viart Enterprise.
 
One issue I can't seem to figure out is why it will not display or send the customer ip address anywhere in the checkout process, or send this info to our payment processor.
 
I've tried using every variable I can find in the scripts, but it does not display the customer IP. I have tried all of the following but none of these seem to work:
REMOTE_ADDR, user_ip, get_ip, remote_address
 
Does anyone know how to do this in Viart???
Last modified: 8 Oct 2006 5:40 PM
 
Vito
Vito
Hello,
 
If you are using one of the latest version of ViArt Shop then there is available tag for it '{user_ip}'.
 
Thanks,
ViArt Support Team
 
rudebox
rudebox
Yes, I tried using that in the payment parameters but it always came through as blank, with no data.
 
I ended up fixing it by adding the following lines to the parameters section of my payment script:
$pass_data["cust_ip"] = $_SERVER["REMOTE_ADDR"];
$pass_data["cust_host"] = $_SERVER["REMOTE_HOST"];
 
emresonmez
emresonmez
I am trying to implement this too.
The user should see his/her own "IP Address" in the credit_card_info.html block.
when I try {user_ip} I get blank field.
Any suggestions?