| 开发者 | aldersverificering |
|---|---|
| 更新时间 | 2026年11月7日 20:08 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
Yes. Customers complete a MitID flow through the Aldersverificering.dk service. The plugin validates the signed result and required age before allowing a checkout that requires verification. It does not rely on a self-declared date of birth or an "I am over 18" checkbox.
Yes, customers must be able to complete the MitID flow when verification is required. This plugin does not verify passports or foreign identity cards. For eligible orders delivered outside Denmark, see the optional delivery setting below.
The plugin and test environment are free. Real MitID verifications in production require an Aldersverificering.dk account, a production API key and a paid service plan. See current prices.
No. The existing GitHub package uses a different installation folder. Continue using its updates until an assisted switch is arranged with support. Back up the store and pause checkout during the switch. Do not delete the old copy through WordPress: older versions' uninstall routines remove shared settings and product rules. An automatic migration between the two installation identities is not provided.
Sign up at Aldersverificering.dk to receive test and production API keys.
Yes. The plugin validates age verification server-side via the Store API checkout hook, so it works with both the classic shortcode checkout and the modern Blocks-based checkout.
Enable Allow delivery outside Denmark without MitID under WooCommerce > Settings > Aldersverificering. This option is off by default. It adds a secondary text link to the cart dialog and lets customers enter their delivery address before verification. The final shipping destination is checked before payment: Danish delivery, local pickup and age-restricted virtual products still require verification. A foreign billing address alone does not grant an exemption. Enable this option only where your products and destination-country requirements permit it. Custom checkout and express-payment integrations need their own compatibility test.
Yes. In selected products & categories mode you can set category, product and variation age overrides. The most specific rule wins: variation override > parent product override > category override > store default.
The customer can try again. When the delivery policy requires verification, checkout is rejected unless a valid, unexpired token or an applicable previously recorded order verification is accepted. Permitted foreign deliveries can proceed without MitID. An existing pending order can still require verification before a payment retry.
Multisite compatibility, including network activation and network-wide uninstall cleanup, has not been verified. Settings and API keys are site-specific. Test your Multisite setup before use; the plugin does not claim to prevent network activation.
Yes. When WPML or Polylang is active the plugin automatically resolves translated products to their source-language variant before reading per-product age gate settings. This ensures age gate flags and age overrides set on a product apply to all translations of that product.
The plugin uses a signed verification cookie and, when the optional foreign-delivery setting is enabled, order verification metadata. It does not store the JWT in the WordPress database. See External services and data above for browser, service and store processing, and the service's Privacy Policy.
Yes. The button that starts the MitID client uses the supplied official white MitID logo, MitID blue, IBM Plex Sans SemiBold, a permitted Danish/English CTA text, and the preferred 4 px radius. Neutral WooCommerce controls that only open the explanatory dialog are not presented as MitID buttons. The MitID client itself is rendered by the configured broker after the verification flow starts.
Plugin options, category gating meta, product gating meta, and JWKS cache are removed via the included uninstall.php when no other known installation copy remains. This version preserves shared data if the alternative installation copy is still present; older versions do not provide that protection.
Order verification metadata is retained as part of the historical order record.
Confirm with MitID / Bekræft med MitID options.includes/functions.php for cleaner code organisation.register_setting() with sanitize callbacks (WordPress.org submission requirement).current_user_can() capability checks in all settings and meta save handlers.update_option(..., false)).woocommerce_cart_updated, woocommerce_add_to_cart, etc. — prevents stale gating results when other plugins modify the cart mid-request.uninstall.php to clean up all plugin data on deletion.