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?
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.
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.
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.