Is there a Miva variable that contains the customer's IP address on the OPAY page?
Announcement
Collapse
No announcement yet.
Is there a Miva variable that contains the customer's IP address?
Collapse
X
-
Is there a Miva variable that contains the customer's IP address?
Larry
Luce Kanun Web Design
www.facebook.com/wajake41
www.plus.google.com/116415026668025242914/posts?hl=en
Tags: None
-
I believe it's s.Remote_Addr. Depending on what you're going to use it for, there can sometimes be issues with utilizing the visitor's IP address if three conditions are met:
1) Your site is IPv6-enabled
2) The visitor is on IPv6 (common for Comcast users since their network is years ahead of other ISP's)
3) You're sending it to something that does not expect to receive an IPv6 address
An example of this is authorize.net's fraud filters; they ask that you submit the visitor's IP to them in the variable x_customer_ip but don't bother to tell you that if you send it an IPv6 address, it will cause a decline.
If your site is IPv6 enabled and you don't have access to an internet provider that is IPv6-enabled, our staff can test things for you as our offices have IPv6.
-
Hi David:
Variable &mvt:system:remote_addr; is shown as populated with my ip address in the sfnt Token List but when I added it to my sfnt page the ip address doesn't display.
We are hosted by miva, How does that relate to the 3 factors you listed?
Thanks, LarryLarry
Luce Kanun Web Design
www.facebook.com/wajake41
www.plus.google.com/116415026668025242914/posts?hl=en
Comment
-
That works.
Thanks!Larry
Luce Kanun Web Design
www.facebook.com/wajake41
www.plus.google.com/116415026668025242914/posts?hl=en
Comment
-
Originally posted by wajake41 View PostHi David:
We are hosted by miva, How does that relate to the 3 factors you listed?
Thanks, Larry
Comment
-
Apparently you can't display system variables by writing entities such as mvt:system:remote_addr; . You have to mvt:assign s.remote_addr to some other variable, or use it in an mvt:eval or other expression that will display it. This is according to the video at http://www.miva.com/videos/web_devel...stem-variables (starting at about 3 mins. 35 secs.).Kent Multer
Magic Metal Productions
http://TheMagicM.com
* Web developer/designer
* E-commerce and Miva
* Author, The Official Miva Web Scripting Book -- available on-line:
http://www.amazon.com/exec/obidos/IS...icmetalproducA
Comment
Comment