Medusa won the Golden Kitty Award for Best Ecommerce Product ✨  Learn More

Medusa Logo
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
Browse

Built by

g33kdev

Category

Other

Version

1.0.2

Last updated

Oct 25, 2022, 23:09:26 PM5 months ago
View sourceView on NPMCopy link

medusa-plugin-ip-lookup-maxmind

About

Participants

Steven

  • GitHub - @stnguyen90
  • Twitter - @stnguyen90
  • Discord - BalistarDrake#3823

Description

Lookup a user's region using MaxMind.

Preview

Set up this plugin

Requirements

This plugin is made to work with MedusaJS. You can find the documentation here. Here's what you'll need to get started with this plugin:

  • Node.js
  • Medusa Store

Install Project

  1. Install the plugin:
npm install medusa-plugin-ip-lookup-maxmind
# or
yarn add medusa-plugin-ip-lookup-maxmind
  1. Obtain a IP geolocation database file from MaxMind. You can download a GeoLite2 Free Geolocation Data here.

  2. Add the plugin to your medusa-config.js file (inside the plugins array):

{
resolve: `medusa-plugin-ip-lookup-maxmind`,
options: {
maxmind_db_path: "<PATH_TO_MAXMIND_DB_FILE>",
},
}
altText of the image

Build your own plugins

Take Medusa up another level, and develop your own plugins with our API to speed up your processes.

Focus on building plugins for tools you use in your daily workflow, and publish to the Medusa Plugin Store for others to install.

Read more
altText of the image
Medusa

Product

Medusa for B2BIntegrationsGet StartedCareers
We're hiring

Developers

DocsAPI ReferencesCommunityDiscussions

Medusa

BlogPricingAboutContact Us

Newsletter

Get a summary of what we’ve shipped during the last month, behind the scenes updates, and team picks. Unsubscribe any time.

© 2023 MedusaJS, Inc.