| 开发者 | smartyandrewb |
|---|---|
| 更新时间 | 2026年9月16日 03:52 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
smarty-address-autocomplete-for-woocommerce folder into /wp-content/plugins/.No. The plugin is built for the WooCommerce block checkout introduced in WooCommerce 8.3. The classic shortcode-based checkout ([woocommerce_checkout]) is not supported.
On the settings page, click Connect with Smarty and sign in to authorize the connection. The plugin then loads the embedded keys from your account into a dropdown — just pick one and click Save changes. No copying or pasting of keys is required.
That means the connected Smarty account has no embedded keys yet. Log in at smarty.com, create an embedded key under API Keys, then click Change Key on the settings page to reload the list. Embedded keys are designed for client-side use and can be scoped to your domain, so make sure the key is authorized for your store's domain.
After you connect, the plugin detects which Smarty services your account is subscribed to (US and international address verification and autocomplete). Subscribed services are enabled by default; toggle any off if you don't want to use them. Services you're not subscribed to are shown but can't be enabled.
If your saved authorization expires or is revoked, the plugin shows a notice with a Reconnect now link. Click it, then click Connect with Smarty again to restore the connection.
Yes. When a customer selects a non-US country, the plugin automatically switches to the Smarty international autocomplete API. Supported countries are listed in the Smarty documentation.
Yes. Verification is supported for countries covered by the Smarty international street address API. For unsupported countries, verification is skipped and checkout proceeds normally.
Autocomplete suggestions are fetched asynchronously with a 200ms debounce, so they don't block typing. Verification happens only when the customer clicks Place Order and adds less than one second in most cases.
Autocomplete silently skips suggestions. Verification fails open — if the API call errors, the checkout proceeds without verification so customers are never blocked by an outage.