Jump to:

2082 Posts in 1002 Topics by 452 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, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1184 Views
  • HansR
    Avatar
    Community Member
    140 Posts

    Is there a PHP only Geoip for Silverstripe Link to this post

    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

  • HansR
    Avatar
    Community Member
    140 Posts

    Re: Is there a PHP only Geoip for Silverstripe Link to this post

    No one else has a server without GeoIP?

    Hans

  • Juanitou
    Avatar
    Community Member
    323 Posts
  • HansR
    Avatar
    Community Member
    140 Posts

    Re: Is there a PHP only Geoip for Silverstripe Link to this post

    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

  • Juanitou
    Avatar
    Community Member
    323 Posts

    Re: Is there a PHP only Geoip for Silverstripe Link to this post

    Oops, sorry!

  • TotalNet
    Avatar
    Community Member
    181 Posts

    Re: Is there a PHP only Geoip for Silverstripe Link to this post

    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

  • Double-A-Ron
    Avatar
    Community Member
    604 Posts

    Re: Is there a PHP only Geoip for Silverstripe Link to this post

    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.

    1184 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.