LokiCheckout_GeoIpAutocomplete

Jump to User Docs

Core
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Latest Release 2.0.4

This Magento 2 module is an add-on package to the LokiCheckout.

Installation

Install this package via composer:

composer require loki-checkout/magento2-geo-ip-autocomplete

Next, enable this module:

bin/magento module:enable LokiCheckout_GeoIpAutocomplete

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/LokiCheckout_GeoIpAutocomplete

Configuration Options

The following options of this module can be configured via the Store Configuration:

GeoIP autocompletion > Enabled
loki_checkout/geo_ip_autocomplete/enabled
Enable or disable this functionality on the fly
GeoIP autocompletion > Provider
loki_checkout/geo_ip_autocomplete/info_provider
Backend provider to translate an IP address into actual address information
GeoIP autocompletion > ipinfo.io token
loki_checkout/geo_ip_autocomplete/ip_info_io_token
Token as generated in your ipinfo.io account. This is only used if the "Provider" is set to "ipinfo.io" and can be left blank otherwise.
GeoIP autocompletion > Success message
loki_checkout/geo_ip_autocomplete/success_message
Text to display when the addressed is modified successfully based on the IP address
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Magento_Backend Magento_Config Magento_Quote Magento_Store LokiCheckout_Core
Composer details
Magento module name
LokiCheckout_GeoIpAutocomplete
Composer name
loki-checkout/magento2-geo-ip-autocomplete
Composer version
2.0.4
Default branch
main
Requirements
magento/framework: ^103.0
magento/module-quote: ^101.0
magento/module-config: ^101.0
guzzlehttp/guzzle: ^6.0 | ^7.0
loki-checkout/magento2-core: ^2.0
ext-json: *
Releases
dev-main#0ddd1a0b6aa75a0a0f41970767c7d761aefbbefe 20 October 2025
2.0.4 20 October 2025
2.0.3 20 October 2025
2.0.2 20 October 2025
2.0.1 20 October 2025
2.0.0 20 October 2025
1.0.0 20 October 2025
0.0.3 20 October 2025
0.0.2 20 October 2025
0.0.1 20 October 2025
Changelog

[2.0.4] - 02 September 2025

Fixed

  • Add CI files
  • Replace yireo/opensearch with yireo/opensearch-dummy in Gitlab CI

[2.0.3] - 18 August 2025

Fixed

  • Lower requirements to PHP 8.1
  • Rename tab in Store Config from "Yireo" to "Loki"

[2.0.2] - 06 August 2025

Fixed

  • Lower PHP requirement to PHP 8.2+

[2.0.1] - 30 July 2025

Fixed

  • Remove postcode from IpInfo.io information because it often sucks

[2.0.0] - 22 July 2025

Fixed

  • Rename PHP namespace from Yireo_Loki* to Loki*
  • Rename composer package from yireo/magento2-loki* to loki/magento2*
  • Bump LokiCheckout_Core to 2.0.0

[1.0.0] - 24 May 2025

Fixed

  • Update admin settings with tooltip and regenerate new MODULE.json
  • Generate new MODULE.json with simple test count
  • Add PHP 8.4
  • Allow upgrading to LokiFieldComponents and LokiCheckout 1.0
  • Reduce dependencies with CheckoutState::saveQuote()

[0.0.3] - 10 April 2025

Fixed

  • Undo dev hack

[0.0.2] - 10 April 2025

Fixed

  • Add CLI command
  • Add dummy provider
  • Add enabled flag
  • Pick provider in backend
  • Add success message

[0.0.1] - 09 April 2025

  • Initial release
Jump to User Docs

Last modified: September 1, 2025