drnick2
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Same Ip Address for All OrdersI have the aluminum reseller package. I will contact Hostgator again in a few days, if they do not reply back to my emails today regarding the script they added. Do you feel this is a Woocommerce or Hostgator issue?
Forum: Plugins
In reply to: [WooCommerce] Same Ip Address for All OrdersHi Wooguy,
I was hoping it would work also, as having the customer IP is very important to us as it is you. The other provider I am using is Namecheap, they are OK, unfortunately their customer service is chat or email only, NO live person which I prefer on occasions like this. I have not encountered any downtime as of yet in the couple of years being with them and any issues I had were small and taken care of via chat. Personally I would like to test site hosted on a SSD server like Inmotion Hosting and see if the speed difference when page loading is really that noticeable on a speed test. Back to Woocommerce, I hope someone from their staff takes the initiative and finds a solution.Forum: Plugins
In reply to: [WooCommerce] Same Ip Address for All OrdersUnfortunately the above solution did not work as I still receive Hostgators IP address instead of the customers.
Forum: Plugins
In reply to: [WooCommerce] All orders have same IPUnfortunately the above solution did not work as I still receive Hostgators IP address instead of the customers.
Forum: Plugins
In reply to: [WooCommerce] Same Ip Address for All OrdersI received a reply back just now and below is the response from Hostgator.
We have added a directive to the wp-config that should allow the correct IP to pass through. Though we do not support the functionality of Woo Commerce directly we will be willing to help where we can. The best course of action if this directive is not working is to contact Woo Commerce directly and as which steps need to be taken to correct this issue. If we are needed to investigate this further we will need replication steps to see how and what is going wrong. Here is the change that we made.
# diff wp-config.php wp-config.php.1552418217.bak
// Code for showing correct client IP address
if ( isset( $_SERVER[‘HTTP_X_FORWARDED_FOR’] ) ) {
$mte_xffaddrs = explode( ‘,’, $_SERVER[‘HTTP_X_FORWARDED_FOR’] );
$_SERVER[‘REMOTE_ADDR’] = $mte_xffaddrs[0];Let us know if there are any further issues of ir there is anything we can help with. We appreciate your patience and look forward to hearing from you.
So now I just need to wait for a transaction to see if it works, I will post back when the results.
Forum: Plugins
In reply to: [WooCommerce] All orders have same IPI received a reply back just now and below is the response from Hostgator.
We have added a directive to the wp-config that should allow the correct IP to pass through. Though we do not support the functionality of Woo Commerce directly we will be willing to help where we can. The best course of action if this directive is not working is to contact Woo Commerce directly and as which steps need to be taken to correct this issue. If we are needed to investigate this further we will need replication steps to see how and what is going wrong. Here is the change that we made.
# diff wp-config.php wp-config.php.1552418217.bak
// Code for showing correct client IP address
if ( isset( $_SERVER[‘HTTP_X_FORWARDED_FOR’] ) ) {
$mte_xffaddrs = explode( ‘,’, $_SERVER[‘HTTP_X_FORWARDED_FOR’] );
$_SERVER[‘REMOTE_ADDR’] = $mte_xffaddrs[0];Let us know if there are any further issues of ir there is anything we can help with. We appreciate your patience and look forward to hearing from you.
So now I just need to wait for a transaction to see if it works, I will post back when the results.
Forum: Plugins
In reply to: [WooCommerce] All orders have same IPOn a side note, I have another website using Woocommerce 3.5.5 that is not hosted on Hostgator and the IP address for the customer is correct.
Forum: Plugins
In reply to: [WooCommerce] All orders have same IPI have Hostgator also and am waiting for a reply from them on this issue, I will post their response once received.
Forum: Plugins
In reply to: [WooCommerce] All orders have same IPI just started experiencing the same issue starting 3/2/2019. Up to that date I always received the customers correct IP address and not my host servers IP. I did not install any plugins or changed anything on Woocommerce. Any help with this matter would be greatly appreciated as having the correct IP address for each order is very important for us, thanks in advance.