[Skip to main content](#vessel-content)

#   Orders made with server ip address

##

- **[NicoW](/forum/user/58228-nicow "View NicoW's Profile")**
- [![NicoW's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58228-nicow "View NicoW's Profile") Topic Author
- [ Offline](/forum/user/58228-nicow)

Less More

- Posts: 147
- Thank you received: 8
-
-

4 years 10 months ago [\#338251](#338251) by [NicoW](/forum/user/58228-nicow "View NicoW's Profile")  *[Orders made with server ip address](/forum/35-orders-management/903734-orders-made-with-server-ip-address#338251 "Hi,  For affiliate sales everything needs to go right. Now I can't help if the customer doesn't accept the cookie, of if the link is opened on instagram browser and later they buy with normal browser.  What i hope i can control is how ip addresses are coming up. I see many visits on my site are registered with my server's (host's) ip address. When this happens ofcourse an affiliate sale will not be registered.  Can i change settings or do something to prevent this from happening and make the cart register the real ip address?  Thank you")* was created by *[NicoW](/forum/user/58228-nicow "View NicoW's Profile")*

Hi,

For affiliate sales everything needs to go right.
Now I can't help if the customer doesn't accept the cookie, of if the link is opened on instagram browser and later they buy with normal browser.

What i hope i can control is how ip addresses are coming up.
I see many visits on my site are registered with my server's (host's) ip address.
When this happens ofcourse an affiliate sale will not be registered.

Can i change settings or do something to prevent this from happening and make the cart register the real ip address?

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMzczNC1vcmRlcnMtbWFkZS13aXRoLXNlcnZlci1pcC1hZGRyZXNzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

4 years 10 months ago [\#338253](#338253) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Orders made with server ip address](/forum/35-orders-management/903734-orders-made-with-server-ip-address#338253 "Hi,  For affiliate sales everything needs to go right. Now I can't help if the customer doesn't accept the cookie, of if the link is opened on instagram browser and later they buy with normal browser.  What i hope i can control is how ip addresses are coming up. I see many visits on my site are registered with my server's (host's) ip address. When this happens ofcourse an affiliate sale will not be registered.  Can i change settings or do something to prevent this from happening and make the cart register the real ip address?  Thank you")*

Hi,

The IP HikaShop adds to carts / orders is what PHP provides:
[ stackoverflow.com/questions/3003145/how-...nt-ip-address-in-php](https://stackoverflow.com/questions/3003145/how-to-get-the-client-ip-address-in-php)
That information can be spoofed, and should not be trusted.
If the user uses a VPN, proxy, or if your server is behind a proxy, the IP address won't the customer's.
I'm afraid you won't be able to do anything.
Note that the affiliation mechanism doesn't depend on the IP address of the user. It depends on the cookies provided by the browser of the user.
So regardless of what the IP address of the user is, if he is behing a procy or not, etc the affiliation will still work as long as the browser provides the cookies.
This might not happen if the browser blocks the cookies (some browser privacy extensions allow for that) and in that case there is not much you can do.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMzczNC1vcmRlcnMtbWFkZS13aXRoLXNlcnZlci1pcC1hZGRyZXNzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.053 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
