📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

613 Modules
401 Ready
211 Need Help
🏆 Leaderboard
Stable v1.4.0

Hyva Checkout Google Address Autocomplete

vendic/hyva-checkout-google-address-autocomplete

Integrates Google Address Autocomplete into the Hyvä Checkout. Provides address suggestions for billing and shipping forms, improving user experience.

28,199
Downloads
Below average
13
GitHub Stars
Below average
9mo ago
Last Release
7
Open Issues
Build Issues
0/3 checks passed

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
PHPStan

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.4.0 on Magento 2.4.8-p3
Dec 28, 2025
v1.4.0 on Magento 2.4.8-p3
Dec 27, 2025

Looking for Contributors

Composer installation fails. Your contribution could help the entire Magento community!

Contribute

Share This Module's Status

Hyva Checkout Google Address Autocomplete Magento compatibility status badge

README

Loaded from GitHub

Google Address Autocomplete for the Hyvä checkout

Coding Standard

Hyvä checkout compatibility module for vendic/magento2-google-address-autocomplete.

https://github.com/Vendic/hyva-checkout-google-address-autocomplete/assets/14849044/52a1d20a-88e3-4953-a06e-c0dac096478d

Installation

This extension currently only supports PHP 8.1, while the Hyvä checkout is also compatible with PHP 7.4. Feel free to create a pull request if you want PHP 7.4 support.

composer require vendic/hyva-checkout-google-address-autocomplete

Configuration

First, create your Google Maps API key. You can find instructions on how to do this here. Also make sure you have valid billing information added to your Google account.

Set your Google Maps API key in the Magento admin panel under Stores > Configuration > Vendic > Google Address Autocomplete.

Or - even better - via the CLI:

 n98-magerun2 config:set --lock-env google_autocomplete/general/api_key $your_api_key

There is no disable/enable configuration. To disable the module, simply remove the API key from the configuration.

Features

  • [x] Autocomplete for billing address in the Hyvä checkout
  • [x] Autocomplete for shipping address in the Hyvä checkout
  • [ ] Autocomplete for adding a new address as a logged in user (see #5)
  • [x] Works on the company field and street 0. To add additonal fields, check \Vendic\HyvaCheckoutGoogleAddressAutocomplete\ViewModel\AutoCompleteSelectors
  • [x] Housenumber validation to check if the housenumber contains digits.
  • [x] Reload autocomplete JS by triggering a browser event named re-init-google-autocomplete. This can be useful when you are removing/adding fields dynamically.

Customizations

Field mapping

The field mapping (google address response mapped to Hyvä checkout form inputs) can be modified using di.xml. See etc/frontend/di.xml for the default mapping, which you can change edit in your own di.xml.

Input selectors

The input selectors (the fields that trigger the autocomplete dropdown ) can be modified using di.xml. By default, the autocomplete is triggered for street 0 and company.

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.