1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Is there a PHP only Geoip for Silverstripe
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1022 Views |
-
Is there a PHP only Geoip for Silverstripe

17 February 2010 at 2:41pm
The "new" ecommerce module requires geoip to be installed, but the provider that I use doesn't have it installed on their system. Is there a PHP only version that can be used with Silverstripe? MaxMind make a PHP only GeoIP module (see http://www.maxmind.com/app/php). Has anyone tried integrating it with Silverstripe?
Hans
-
Re: Is there a PHP only Geoip for Silverstripe

23 February 2010 at 3:09pm
No one else has a server without GeoIP?
Hans
-
Re: Is there a PHP only Geoip for Silverstripe

23 February 2010 at 10:01pm
Hi Hans.
Maybe this could help you: http://hdrlab.org.nz/getting-and-using-the-visitor-s-country/
-
Re: Is there a PHP only Geoip for Silverstripe

24 February 2010 at 9:36am
Hehe, that's from my own website. It's no substitute for GeoIP though. I was hoping that someone would have a plug in PHP replacement for the GeoIP command that the ecommerce module currently uses.
If there's no simpler solution, then I'll have no choice but to take my existing "get the visitors country" code, and jam it into the eCommerce module. I don't like this solution though, as it means that I'll have to redo it every time I upgrade the module.
Hans
-
Re: Is there a PHP only Geoip for Silverstripe

6 April 2010 at 9:18am
No one else has a server without GeoIP?
My hosting provider soes not yet have GeoIP ethier, they've said it might be in their plans so if I can't get the Pure PHP module wotking I might actually change providers.
Will let you know if I make any headway.
Rich -
Re: Is there a PHP only Geoip for Silverstripe

6 April 2010 at 4:04pm
We did this by running with a third party API that did all the Geo stuff with a call to the service on page load (stored locally after first load). We would simply blocks of API calls and pass the cost onto the customer.
The reason why I don't name the vendor is because they shut down and left our site with no geo branching, which is quite dangerous in our case. We quickly moved to a server with GeoIP installed and regulary updated. There really is no substitute and definately no more stable method of doing it.
That said, I'm surprised the ecommerce module *requires* it. There are a ton of PHP ecommerce solutions out there, and none require a server dependancy like that as far as I know.
| 1022 Views | ||
|
Page:
1
|
Go to Top |


