Linux 软件免费装
Banner图

Aldersverificering – MitID Age Verification for WooCommerce

开发者 aldersverificering
更新时间 2026年11月7日 20:08
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

age-verification woocommerce mitid aldersverificering alderskontrol

下载

1.2.1

详情介绍:

Verify your customers' age with MitID in WooCommerce. Aldersverificering connects your store to a MitID verification flow, so customers can confirm their age before buying age-restricted products. Built for webshops serving customers who use MitID in Denmark. Set the required age for your store, categories, products or individual variations — including 16+ and 18+ checks. How MitID age verification works
  1. Your checkout requests an age check. The plugin uses your product rules and configured delivery policy to decide whether verification is required.
  2. The customer confirms with MitID. The familiar MitID flow opens in a popup or redirects the customer to verification.
  3. WooCommerce checks the result. When verification is required, checkout continues only with a valid result that meets the required age. Cancelled, missing or insufficient results do not grant access to checkout.
This is a MitID-based age check, rather than a checkbox where customers declare their own age. Customers must be able to use MitID; the plugin does not provide passport or foreign ID-card verification. Free plugin and test environment The plugin is free software. An Aldersverificering.dk account and API key are required. Test the MitID flow for free with test keys and MitID test identities. Real production verifications require a paid service plan. See service pricing. Payment is for the external verification service, not for unlocking plugin code. MitID features for WooCommerce The plugin provides technical age verification. Merchants remain responsible for their product rules, delivery destinations and applicable requirements.

安装:

  1. Install Aldersverificering – MitID Age Verification for WooCommerce from Plugins > Add New, or upload the ZIP from this page.
  2. Activate the plugin via Plugins > Installed Plugins.
  3. Navigate to WooCommerce > Settings > Aldersverificering.
  4. Create an Aldersverificering.dk account, enter your test API key and save.
  5. Set the required age, select the products or categories to verify, and choose a popup or redirect flow.
  6. Complete a test checkout with a MitID test identity before enabling production.
When you are ready to go live, enter your production API key and toggle the environment to Production.

常见问题:

Does this plugin verify age with MitID?

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.

Do customers need MitID?

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.

Is MitID age verification free?

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.

I already use the GitHub version. Can I install this alongside it?

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.

Where do I get an API key?

Sign up at Aldersverificering.dk to receive test and production API keys.

Does this work with the WooCommerce Checkout Block?

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.

Can customers order for delivery outside Denmark without MitID?

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.

Can I require a different age for different products?

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.

What happens if the customer closes the verification popup?

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.

Does the plugin work in a WordPress Multisite installation?

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.

Does it work with WPML or Polylang?

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.

Does the plugin store personal data?

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.

Does the plugin use the official MitID button or logo?

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.

What cleanup happens when I delete the plugin?

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.

更新日志:

1.2.1 1.2.0 1.1.2 1.1.1 1.1.0 1.0.0 0.2.0 0.1.0