WordPress.org

Ready to get started?Download WordPress

Forums

Restricting certain geographical payments (8 posts)

  1. kangharp
    Member
    Posted 1 year ago #

    How do I restrict people from outside a certain geographical area to not be able to make purchases using WP E Commerce?

  2. Gregg Banse
    Member
    Posted 1 year ago #

    There is no fool-proof way to do this. The options would include using IP addresses to either accept only certain IPs (whitelisting) or block all IPs outside the geotarget area (blacklisting) - either is a huge task with limited reliability.

    The best way to control the buyers is to make the site a membership only site and vet the people before you let them become members.

    I assume you've posted a message somewhere on your site (like the first form they fill out for the check out process) that tells your buyers you only accept orders from the geographic area? Do you manually check your orders?

  3. kangharp
    Member
    Posted 1 year ago #

    yes i will be checking the orders manually at first but my goal is to eventually automate the process, I am wondering I can tell the host to block all other users outside of my geographic area?

  4. Gregg Banse
    Member
    Posted 1 year ago #

    Not likely. It's up to you to manage that.

  5. kangharp
    Member
    Posted 1 year ago #

    So manually checking is what you would recommend?

  6. Gregg Banse
    Member
    Posted 1 year ago #

    Does the geographic area have a zip or postal code associated with it? Are there other hooks you could use during the check out process?

  7. kangharp
    Member
    Posted 1 year ago #

    Yes I have postal codes in the geographic area, but what exactly do you mean by hooks?

  8. Gregg Banse
    Member
    Posted 1 year ago #

    Hooks as in something (a type of data like a postal code) that you can use as a filter. In this example, you could ask the user to supply their postal code and if it doesn't match the list of postal codes you wish to do business with, then you can keep them from getting to parts of the site you don't want them to see - like not seeing the catalog in the first place or preventing them from checkout. Knowing the postal codes of where you wish to do business makes it a bit easier to filter out unwanted users.

Topic Closed

This topic has been closed to new replies.

About this Topic