VerifyID

WooCommerce

Install and set up VerifyID - Age Verification for WooCommerce 2.0, one plugin for MitID and BankID with the age checked on the server for every order.

Overview

VerifyID - Age Verification for WooCommerce checks the age of customers who buy age-restricted products (alcohol, tobacco, nicotine, knives, games and similar) with MitID (Denmark) and Swedish BankID. Version 2.0 is one plugin for both methods. It replaces the separate 1.x plugins for MitID and BankID.

  • The VerifyID pop-up. When the cart needs a verification, the customer sees the VerifyID card of the earlier plugins on a full-screen layer, with a button per method: MitID first, then BankID.
  • Language from the location. Customers in Denmark get Danish, in Sweden Swedish and in Norway Norwegian. A small language menu in the corner of the card offers Dansk, Svenska, English and Norsk.
  • Age buttons on every product. Follow category, No verification, 16+, 18+ or a higher age, also on categories, variations, Quick Edit and Bulk Edit.
  • Checked on the server. Every way of placing an order is checked when the order is created: the classic checkout, the Checkout block, pay-for-order, REST API orders, express payment buttons and the Nordic embedded checkouts. Turning off JavaScript or changing the country does not skip the check.
  • Private by design. The plugin stores the method and the proven age tier (for example 18+) on the order. It never stores the customer's exact age, CPR number or personnummer.
ItemValue
PluginVerifyID - Age Verification for WooCommerce
Version2.0.2
DownloadWordPress.org, or Plugins › Add New Plugin in WordPress (search for VerifyID)
LanguagesDanish, Swedish, Norwegian (Bokmål), English
Admin menuVerifyID (Overview, Settings, Setup wizard, Tools)
WP-CLIwp verifyid
LicenceGPLv2 or later

The plugin calls the VerifyID API for you. You do not need the API endpoints from the other pages of these docs.


Requirements

ComponentRequirement
WordPress6.5 or later (tested up to 7.1), single site or multisite
PHP7.4 or later, with the sodium extension (standard since PHP 7.2)
WooCommerce7.1 or later (tested with 9.0 and 11.2; 9.0 or later is best), with High-Performance Order Storage on or off
VerifyIDAn active VerifyID account and the plugin key from the VerifyID Dashboard
ServerOutbound HTTPS to app.verifyid.dk, the shop served over HTTPS, WP-Cron or a system cron running

Check the versions under WooCommerce › Status. WooCommerce must be installed and active before you activate VerifyID.


Installation

Install from WordPress.org

In WordPress, open Plugins › Add New Plugin and search for VerifyID. Click Install Now on VerifyID – Age Verification for WooCommerce, then click Activate. The plugin's page is wordpress.org/plugins/verifyid-age-verification-for-woocommerce.

If your host does not allow installs from the WordPress admin, download the zip from that page, open Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate Plugin.

Run the setup wizard

After activation a notice with Start the setup appears. The wizard is also under VerifyID › Setup wizard (Setup wizard). The plugin starts with Mode set to Off, so nothing changes for customers until you finish.

Register every shop domain

Add each domain to your VerifyID account (Register your shop domains).

Test, then go live

Try the real checkout in Test mode, then switch Mode to Live (Test mode and going live).

Updates. New versions come from WordPress.org like any other plugin: WordPress shows them under Dashboard › Updates and on the Plugins screen. To install them automatically, click Enable auto-updates next to the plugin on the Plugins screen. A shop that installed the 2.0.0 zip from the VerifyID Dashboard gets the same updates. Your settings and product ages are kept.

Coming from the 1.x plugin

The 1.x plugins are called VerifyID Plugin (MitID) and VerifyID Plugin BankId (BankID). They are not updated to 2.0 automatically, and they keep working as before. To move a shop to 2.0:

  1. Make a full backup of files and database, and plan about 45 minutes in one go at a quiet time of day.
  2. Open Plugins and click Deactivate under the old VerifyID plugin. Keep it installed until 2.0 runs live, so the way back stays easy.
  3. Install and activate 2.0 as above. It uses its own folder, so the Plugins screen lists both plugins; the old one stays deactivated.
  4. Go through every step of the setup wizard and check each value. 2.0 can copy your key and some settings from the old plugin, but do not rely on that copy.
  5. Switch Mode to Live.

From the moment you deactivate the old plugin until 2.0 runs in Live mode, your customers are not age-checked. Test mode does not check customers either. Do the steps in one session.

To go back, deactivate 2.0 first and then activate the old plugin again. The old plugin still has its settings.


Setup wizard

The wizard has six steps. A row of numbered steps at the top shows where you are; finished steps get a tick, and you can go back to a step you have already visited. Each step has Back, Skip for now and Continue, and every step also saves with JavaScript turned off. You can change everything later under VerifyID › Settings.

StepWhat you do
ConnectPaste the plugin key and click Save and check. The check is free. It shows your account (with the e-mail partly hidden), whether it is paid, and the shop domain to register. If the account is not active, stop and contact VerifyID.
MethodsTurn MitID (proves 16+ and 18+) and BankID (proves 16+ to 25+) on or off, pick the countries of each method from the country list, and choose the languages of the language switch. A preview shows the pop-up with both buttons in Danish, Swedish, English or Norwegian.
Other countriesChoose what customers from other countries (for example Norway or Germany) get. Verify with any method is recommended. See Customers from other countries.
ProductsChoose the store default age, set an age per category with the age buttons, and choose whether subcategories inherit the age and whether age tags count. The step shows "About N of M published products need age verification": check that the number looks right. Set ages on single products opens the product list.
CheckoutA checklist shows where the pop-up appears and links to anything that needs attention. Choose the box style and keep Express payment buttons on Hide until verified.
Go liveA summary of your choices, each with an Edit link. Choose Test mode or Live and click Save and finish. Live needs a confirmed plugin key and the tick I understand that every verification start is billed by VerifyID, also in test mode and also when the customer cancels.

On a new install the methods follow the shop's base country: Denmark gets MitID only, Sweden BankID only, every other country both. Turn on the other method in the Methods step if you want both buttons.


The VerifyID menu

The VerifyID item in the WordPress admin menu (for users who can manage WooCommerce) has four pages. The same pages are tabs at the top of every VerifyID screen.

PageWhat it shows
OverviewFinish setup until the wizard is done; tiles for Mode (Live, Test or Off), your VerifyID account, Held orders (with a link) and the service status; Product coverage, how many published products need age verification and why; Recent verifications, the last 10 attempts with their status.
SettingsAll settings, in sections (below), with a save bar at the bottom. General also has the plugin key, Test connection and Run the setup wizard.
Setup wizardThe six steps above.
ToolsStatus (with Retry now), the last 50 verification attempts, the Compatibility report, the 1.x import, export and import of the settings, and the log.
Settings sectionWhat is in it
GeneralMode, MitID and BankID, preferred method, how long a verification counts, remembering logged-in customers
Countries & languageThe countries of each method, how the customer's country is found, customers from other countries, the language switch and its languages
Age rulesDefault age for all products, subcategory inheritance, age tags
Checkout & cartBox style, express payment buttons, embedded checkouts, the cart page, staff orders paid by the customer, the age badge on products
TextsEvery text of the pop-up in Danish, Swedish, English and Norwegian. An empty field uses the bundled text.
AppearanceLogo, the MitID and BankID marks, colours, corner radius, z-index
Orders & bypassOrders created by staff, through the REST API, at a point of sale or by background jobs; exempt user roles; subscription renewals; what happens to unverified orders
All-pages gateAn optional age gate on every page
Reliability & privacyWhen VerifyID is unavailable, start limits, the daily start budget, retention, the debug log, script-blocker protection, deleting data on uninstall

Old bookmarks to WooCommerce › Settings › Age verification open the matching VerifyID page.


Plugin key

  1. Copy your plugin key from the VerifyID Dashboard. If you used the 1.x plugin, it is the same key.
  2. Paste it in the wizard step Connect (or Plugin key under VerifyID › Settings › General) and save. The key is stored encrypted and is never shown again. To replace it, type a new key into the same field.
  3. Save and check in the wizard, or Test connection in the settings, checks the account behind the key. It never starts a verification, so nothing is billed.

From the command line, pass the key on standard input, never as an argument:

Terminal
echo "$VERIFYID_KEY" | wp verifyid key set --stdin
wp verifyid test-connection

You can also set the key in wp-config.php with define( 'VERIFYID_WC_PLUGIN_KEY', '…' );. The settings field is then read-only.

The plugin key works like a password: it also gives access to your VerifyID account. 2.0 keeps it on the server and never prints it in your pages. Do not e-mail it or paste it into support tickets.


Register your shop domains

VerifyID only accepts verifications from domains registered in your VerifyID account, and every verification start is billed, also when the customer cancels.

Register every domain where customers verify, with and without www (for example shop.dk and www.shop.dk), one per language if your shop has several, and every staging domain on which you use a live key. Customers return from MitID or BankID to https://your-domain/wc-api/verifyid_return/.

If VerifyID refuses a start (an unregistered domain or an inactive account), the plugin pauses new starts so the failures are not billed again and again, and an admin notice names the domain to add. Register the domain or settle the account, then click Retry now under VerifyID › Tools › Status.


MitID and BankID

Turn the methods on or off under VerifyID › Settings › General: MitID (Denmark) and BankID (Sweden).

Order requiresMitIDBankID
16+YesYes
18+YesYes
19+, 20+, 21+, 23+, 25+NoYes
  • MitID proves only 16+ and 18+. A cart that needs a higher age gets the BankID button only. With only MitID on, such a cart cannot be checked out: turn on BankID or use 16+ and 18+ only.
  • Preferred method (Automatic by default) picks the method from the customer's location. Choose a method to always show it first when it can prove the required age.
  • Strict country method (off by default): orders delivered to Denmark must be verified with MitID and orders delivered to Sweden with BankID, unless that method cannot prove the required age. Customers there then see only that button.
  • Verification valid for (minutes): how long a verification counts in the browser where it was done (30 by default, 15 to 1440).
  • Remember logged-in customers (days): 0 (off) by default. When set, a logged-in customer's verification also counts on their other devices.

What customers see

WhereWhat
Product pageA badge such as "18+ · Age verification with MitID at checkout" on age-restricted products (Checkout & cart › Age badge on products; can also show in product lists, or be turned off)
CartA short notice that the cart has age-restricted products
Checkout and the pay-for-order pageThe VerifyID pop-up, until the customer is verified
Every pageThe pop-up of the optional All-pages gate, until the visitor is verified

A cart without age-restricted products shows no pop-up, and nothing is sent to VerifyID.

The pop-up

The pop-up is the VerifyID card of the earlier plugins on an opaque full-screen layer: the VerifyID logo (or yours), the title Age verification required, a short text, two numbered steps and one full-width button per method, Verify your age with MitID and Verify your age with BankID. The page stays loaded underneath, so the checkout carries on after the verification.

  • At checkout and on the pay-for-order page the pop-up cannot be closed, like in 1.x. The customer verifies, or leaves with Back to cart or the browser's back button.
  • On the cart page the pop-up opened from the cart notice can be closed, so the customer can remove the items instead.
  • The all-pages gate cannot be closed.
  • If VerifyID cannot be reached, the pop-up says the check is temporarily unavailable and can be closed. By default, orders with age-restricted products cannot be placed until VerifyID answers again.

The default box style is Pop-up. Under Checkout & cart › Box style you can choose an Inline box in the checkout form instead, or an Inline box, pop-up on "Place order".

Buttons

Methods onCart needs 16+ or 18+Cart needs 19+ to 25+
MitID and BankIDMitID and BankID, MitID firstBankID only, with a line saying that MitID can verify only 16+ and 18+
MitID onlyMitIDNo button: the shop cannot verify this cart
BankID onlyBankIDBankID

The customer's country never hides a button; it only picks the language. Only Strict country method limits a covered country to its own method.

After the click

  1. The customer clicks a button and logs in with MitID or BankID.
  2. They come back to the checkout. The pop-up closes and the checkout shows, for example, "Verified 18+ with MitID, valid until …".
  3. If they cancel at MitID or BankID, the pop-up says the verification was cancelled and they are still not verified. If they are under age, the pop-up shows Back to cart.

Every click on a button starts one verification, and every start is billed, also when the customer cancels. The buttons are disabled while a start runs, and a second click on the same button within 5 minutes reuses the open start instead of billing a new one. Opening or closing the pop-up and switching the language start nothing.

Language switch

A small menu in the card's top corner offers Dansk, Svenska, English and Norsk (DA, SV, EN, NB). The change is instant and affects only the pop-up.

Setting (Countries & language)DefaultWhat it does
Show the language switchOnShows the menu. Turn it off to hide it.
Languages and their orderDanish, Swedish, English, NorwegianThe languages in the menu, in this order
Default languageFrom the customer's countryOr the shop language, or a fixed language
Language followsThe customer's countryWith The chosen method, the language changes with the method
Country to languageDK → da, SE → sv, NO → nbWhich language a country gets

Change any text of the pop-up under VerifyID › Settings › Texts, in all four languages.


Countries and languages

How the customer's country is found

The country decides the language the customer sees first (and, with Strict country method, the method). It never decides whether an order needs an age check: the products in the cart do.

SettingDefaultWhat it does
MitID countriesDenmarkCountries where MitID is the local method
BankID countriesSwedenCountries where BankID is the local method
How the customer's country is foundBilling country, shipping country, geolocation, page language (WPML, Polylang), currency, default customer address, shop countryTried in this order, after the customer's own choice. Remove a signal to ignore it.
Use geolocationOnWooCommerce's own geolocation. No outside service is called.

Customers from other countries

Customers from other countries decides what happens outside the countries your methods cover (Norway included):

ChoiceEffect
Verify with any method (default, recommended)Every enabled method is offered, and the customer must pass one.
Do not deliver restricted products abroadAge-restricted products cannot be delivered outside the covered countries.
Let them declare their age (delivery checked)The customer may confirm they are of age. Accepted only when every delivery country is outside the covered countries.

A declaration also needs a billing address outside the covered countries (Check the billing country too, on by default) and only counts for the shipping methods listed under Shipping methods that deliver to the address (flat rate and free shipping by default). With pickup, parcel shops or any other method, the shop's country counts as the delivery country, so the declaration is refused.

The optional "I confirm my age" checkbox (Always, in addition to verification) adds a tick box. It never replaces verification.


Setting ages

Age tiers: 16+, 18+, 19+, 20+, 21+, 23+, 25+. A product without an age needs no verification. MitID proves 16+ and 18+; the higher ages need BankID.

Every product and category has a row of age buttons. Without JavaScript they are plain radio buttons, so saving always works.

One product

Open the product, then Product data › Inventory › Age verification:

ButtonMeaning
Follow category (default)The product takes its age from its age tags, its categories or the store default. The line under the buttons says what this means today, for example Currently: 18+ from category "Vin".
No verificationThe product never needs a check, even when a category, a tag or the store default asks for an age.
16+ or 18+Exactly this age, also when it is lower than the category's (16+ in an 18+ category stays 16+).
Higher ageOpens a second row: 19+, 20+, 21+, 23+, 25+ (BankID only).

Variations use the product's age by default (Same as product). A variation can only ask for a higher age, never a lower one.

Many products

  • The product list has an Age column with the age and where it comes from.
  • Quick Edit and Bulk Edit have the same age buttons (No change is preselected in Bulk Edit).
  • The Bulk actions menu has VerifyID age entries.
  • CSV import and export: column verifyid_age with inherit, exempt or a tier such as 18.

Categories

Products › Categories, edit a category, Age verification: No rule, No verification, 16+, 18+ or Higher age. The Products step of the wizard has the same buttons for every category in one table.

  • No rule: the category sets no age.
  • No verification: the store default does not apply to products in this category. Tags, other categories and a product's own choice still count.
  • With Subcategories inherit the age (Age rules, on by default), a product in a subcategory also gets the age of the parent categories.

Age tags (18+ or +18)

With Use age tags on (Age rules, on by default), a product tag named exactly 18+ or +18 (or another tier, such as 21+ or +16) sets the product's age. Under Where age tags are read you can also read one product attribute (Age attribute, for example pa_age). When several tags match, the highest wins.

TagAge
18+18
+2121
Alcohol 18+none (not an exact tag)
18none (no +)
17+none (not a tier)

Store default

Age rules › Default age for all products applies to products without their own age, age tag or category age. Usually it stays at none.

Order of precedence

  1. The product's own choice wins. No verification means no age, and an age button means exactly that age.
  2. With Follow category: the product's age tag (the highest one), even when it is lower than a category age.
  3. Otherwise the highest age of the product's categories (with inheritance when it is on).
  4. Otherwise the store default, unless one of the product's categories is set to No verification.

For the cart, the highest line wins. Example: beer in category Øl (18+) and a whisky set to 21+ need 21+, so the customer gets the BankID button only. An alcohol-free beer set to No verification in the same category needs nothing.

Terminal
wp verifyid product set-age 123,SKU-42 18          # products 123 and SKU-42 need 18+
wp verifyid product set-age 124 exempt             # product 124: no verification
wp verifyid category set-age 15 18 --recursive     # category 15 and its subcategories
wp verifyid category set-age 15 none               # remove the category age
wp verifyid age product 123                        # show how a product's age is worked out
wp verifyid age cart --products=123:2,456          # the age a cart would need

To check one product in the shop, put it alone in the cart and go to the checkout in test mode.


Test mode and going live

Mode (VerifyID › Settings › General) has three values:

ModeEffect
Off (new installs)Nothing is checked.
Test (only shop managers)Only logged-in shop managers and administrators see the pop-up and are checked. Customers see no change and are not checked.
LiveEvery order with age-restricted products needs a verified age.

To try test mode, stay logged in as a shop manager and use the shop like a customer, or click Preview test mode in this browser (24 hours) in the settings. Every verification start is billed, also in test mode.

A short test:

  1. A cart without age-restricted products: no pop-up.
  2. An age-restricted product: the pop-up covers the checkout. Click a button, log in, come back, and place the order.
  3. Cancel: start a verification and cancel it at MitID or BankID. You come back unverified.
  4. Open the test order in WooCommerce › Orders. It has an Age verification box, and a note such as "VerifyID: age verified with MitID (18+, order requires 18+). Reference …".

Then set Mode to Live and place one real order in a private browser window. Cancel or refund your test orders afterwards.


Orders

  • Every order with age-restricted products gets an Age verification box with the result, for example Verified 18+ with MitID.
  • An order that arrives without a valid verification (for example from an uncertified checkout or a payment provider's callback) is put on hold by default, with a reason such as Held: verification missing. The Held orders tile on the Overview and a daily e-mail (at most one a day) point you to them. Check the customer's age before you ship.
  • Orders & bypass decides about orders that do not come from the customer's checkout: orders entered by staff in the admin (allowed, with a note naming the staff member), REST API orders (put on hold; trusted API users and keys can be allow-listed), point of sale orders, background jobs and subscription renewals.
  • When VerifyID is unavailable (Reliability & privacy): Block (default) refuses restricted orders until VerifyID answers again; Hold accepts them on hold for review.

Supported checkouts

The Compatibility report under VerifyID › Tools lists every checkout, payment and builder plugin found on your shop and its coverage class. wp verifyid coverage prints the same report.

ClassMeaning
CertifiedTested end to end.
Tested with stubsA dedicated adapter, built from the provider's code and tested against stand-ins for it.
Uncertified (protected by the order auditor)No dedicated adapter. An order with age-restricted products that was not verified is put on hold for review instead of being completed.
Unsafe settingA setting in that plugin weakens the check right now. Site Health and an admin notice name it.
IntegrationClass
WooCommerce checkout (classic, Checkout block, pay-for-order)Certified
Embedded checkouts: Kustom Checkout (Klarna Checkout), Nexi Checkout (Nets Easy), Svea Checkout, Qliro, Walley Checkout, Vipps MobilePay Checkout, Avarda Checkout, Dintero Checkout, BriqpayTested with stubs
Payments: Klarna Payments, Resurs Bank PaymentsTested with stubs
Redirect gateways: Quickpay (incl. MobilePay, Vipps, Apple Pay, Trustly), Frisbii Pay (Reepay), Worldline Online Checkout (Bambora), OnPay.io, ePay Payment Solutions, Scanpay, Swish (BjornTech)Tested with stubs
Express buttons: Klarna Express Checkout, Vipps MobilePay Express, WooCommerce Stripe, Payment Plugins for Stripe, WooCommerce PayPal Payments, Payment Plugins for PayPal, WooPayments, Amazon Pay, Mollie, WooCommerce Square, the Checkout and Cart block express buttonsTested with stubs
Checkout builders: CartFlows, Fluid Checkout, FunnelKit Funnel Builder (without one-click upsells)Tested with stubs
Checkout field editors: Checkout Field Editor (ThemeHigh), Flexible Checkout FieldsTested with stubs
WooCommerce Subscriptions, Product Bundles, Composite Products, Dokan, WCFM Marketplace, WooCommerce Point of SaleTested with stubs
PaysonCheckout, CheckoutWC, WooCommerce One Page Checkout, Krokedil Post Purchase Upsell, FunnelKit with one-click upsells, WooCommerce Mix and Match, WooCommerce POS (wcpos)Uncertified (protected by the order auditor)
Page builders: Elementor Pro (Checkout widget), Bricks, Breakdance, DiviUncertified (protected by the order auditor)
Any other checkout or gatewayUncertified (protected by the order auditor)

What customers see with them:

  • Embedded checkouts (Klarna, Nexi, Svea, Qliro, Walley and the others): the payment window appears only after the verification (Embedded checkouts = Hide until verified), so no payment can start before it.
  • Express payment buttons (Apple Pay, Google Pay, PayPal, MobilePay and similar): hidden on the pages of restricted products, and on the cart and the checkout until the customer is verified (Express payment buttons = Hide until verified). Orders through them are checked on the server either way.

Known limits:

  • One-click upsells (FunnelKit, CartFlows and CheckoutWC order bumps, Post Purchase Upsell) are charged first and then put on hold. Exclude age-restricted products from upsell offers.
  • Subscription renewals are charged before they are held. With Subscription renewals = Inherit (default) a renewal is accepted when the original verification covers its age.
  • WooPay cannot be used for restricted carts.

  • Page caching: the verification state is loaded from a request that is never cached, so cached product and category pages are fine. The cart, the checkout and the /wc-api/ addresses must not be served from a page cache; the Site Health test The cart or checkout page is served from a cache tells you when they are.
  • Cookie banners and script optimisers: with Protect the box from script blockers on (default, Reliability & privacy), the plugin's scripts are marked as necessary for Cookiebot and Complianz, and excluded from delay, defer and combine in WP Rocket, LiteSpeed Cache, Autoptimize and Cloudflare Rocket Loader. CookieYes does not block the pop-up. Other banners and optimisers are named by the Site Health test A cookie banner or script optimiser may block the verification box; add the plugin's scripts to their allow list.
  • CDN and firewall: keep the query parameters token_age_verified and token_age_verified_new on /wc-api/verifyid_return/, and do not block or cache that address.
  • Fonts: the pop-up uses a font bundled with the plugin and loaded from your own site. No CDN is used.

WP-CLI

Every command runs as wp verifyid <command>. Commands that print tables accept --format=json.

CommandWhat it does
wp verifyid statusVersion, requirements, mode, methods, key state (never the key), last account check, status list and start budget
wp verifyid doctorThe Site Health tests on the command line
wp verifyid test-connectionChecks the saved key with VerifyID (free)
wp verifyid key set --stdin / key status / key delete --yesSaves (from standard input only), shows the state of, or removes the plugin key
wp verifyid config get [<key>] / config set <key> <value>Reads or changes a setting, for example wp verifyid config set mode live
wp verifyid config export / config import <file>Settings as JSON. The export never contains the plugin key.
wp verifyid coverageThe Compatibility report
wp verifyid age product <id or sku> / age cart --products=<id[:qty]>,...How an age is worked out
wp verifyid product set-age / category set-ageSets product or category ages (--dry-run to preview)
wp verifyid attempts listRecent verification attempts, without tokens or return addresses
wp verifyid audit scanRead-only check of recent orders: flags restricted orders that are paid without a valid verification
wp verifyid cleanup runRuns the daily clean-up job now

Troubleshooting

Start with Tools › Site Health (or wp verifyid doctor) and VerifyID › Tools, which shows the status list, the last 50 attempts and the log. Turn on Debug log (Reliability & privacy) for more detail in WooCommerce › Status › Logs (source verifyid). Personal data is never logged.

SymptomCause and fix
New starts are paused because VerifyID refused the last startThe domain is not registered or the account is not active. Register the domain or settle the account, then click Retry now (VerifyID › Tools › Status).
Site Health: VerifyID does not recognise the plugin keyCopy the key again from the dashboard, without spaces, and save it.
The saved key cannot be decryptedThe WordPress salts or VERIFYID_WC_ENCRYPTION_KEY changed. Enter the key again.
Customers do not see the pop-upMode is Off, or Test (only shop managers see it). Or a cookie banner or optimiser blocks it: keep Protect the box from script blockers on and check Site Health.
The pop-up shows only the BankID buttonThe cart needs 19+ or more, which MitID cannot prove. This is expected.
The cart says the age cannot be verifiedThe cart needs more than 18+ and only MitID is on. Turn on BankID.
The pop-up has no language menuShow the language switch is off, or Languages and their order has only one language.
The pop-up is behind the header or a cookie bannerRaise Appearance › Pop-up z-index.
A product has an unexpected ageLook at the line under its age buttons, or run wp verifyid age product <id>. A product's own button beats its categories and tags.
Site Health: The return address after MitID and BankID does not workA security plugin, firewall or cache blocks /wc-api/verifyid_return/. Allow it and do not cache it.
The payment window of Klarna, Nexi, Svea, Qliro or Walley is missingExpected until the customer is verified (Embedded checkouts = Hide until verified).
Apple Pay, Google Pay or PayPal buttons are missingExpected on the page of a restricted product, and on the cart and the checkout until the customer is verified.
A customer verified but is asked againThe verification expired, a product with a higher age was added, or they finished in another browser. They verify again in the same browser.
Orders are On holdThe order came through a path without a verification (an uncertified checkout, a REST API order, a renewal), or When VerifyID is unavailable is Hold. Check the customer's age before you ship. wp verifyid audit scan lists them.
Many customers hit the start limits at onceThe shop runs behind a proxy, CDN or load balancer. Add its addresses to VERIFYID_WC_TRUSTED_PROXIES in wp-config.php (comma-separated IPs or CIDR ranges).

Switching off or removing

  • Switch off: Plugins › Deactivate under VerifyID – Age Verification for WooCommerce. From then on, the shop has no age check.
  • Delete: deactivate, then Delete. By default the settings and product ages stay in the database, so a later install picks them up again. To remove everything, first turn on Delete all data when the plugin is deleted (Reliability & privacy) and save. The verification results on orders are always kept.

Kort fortalt på dansk

VerifyID - Age Verification for WooCommerce 2.0 er ét plugin til både MitID og svensk BankID. Kunder i Danmark får dansk, kunder i Sverige svensk og kunder i Norge norsk. Alderen kontrolleres på serveren for alle ordrer, også når JavaScript er slået fra, og ved ekspresknapper og indlejrede checkouts som Klarna, Nexi og Svea.

  • Krav: WordPress 6.5, PHP 7.4 og WooCommerce 7.1 eller nyere, en aktiv VerifyID-konto og din plugin-nøgle.
  • Installation: I WordPress: Plugins › Tilføj nyt plugin, søg efter VerifyID, klik Installer nu og derefter Aktivér. Plugin'ets side er wordpress.org/plugins/verifyid-age-verification-for-woocommerce.
  • Opsætningsguiden: VerifyID › Opsætningsguide har 6 trin: Forbind, Metoder, Andre lande, Produkter, Kasse og Gå live. Indsæt plugin-nøglen i første trin og klik Gem og kontrollér (gratis). Registrér alle shoppens domæner, med og uden www, i din VerifyID-konto.
  • Menuen VerifyID: Oversigt, Indstillinger, Opsætningsguide og Værktøjer.
  • Aldersgrænser: Hvert produkt har knapperne Følg kategori, Ingen verifikation påkrævet, 16+, 18+ og Højere alder (19+ til 25+, kun BankID). Produktets eget valg vinder over kategori og tags. Du kan også sætte alderen på kategorier, med tags, der hedder præcis 18+ eller +18, eller som standard for hele butikken.
  • Pop-up'en: Ved kassen dækker VerifyID-kortet siden, som i det gamle plugin, og kan ikke lukkes. Når både MitID og BankID er slået til, vises begge knapper, MitID først. Kræver kurven 19+ eller mere, vises kun BankID. En lille sprogvælger i kortets hjørne skifter sprog: Dansk, Svenska, English og Norsk.
  • Test først: Med Tilstand = Test (kun butiksadministratorer) ser kun butiksadministratorer pop-up'en. Hver start af en verifikation faktureres af VerifyID, også i testtilstand, og også hvis kunden afbryder. Skift derefter Tilstand til Live.
  • Fra 1.x: De gamle plugins opdateres ikke automatisk til 2.0. Tag en backup, deaktivér det gamle plugin, installér 2.0, gå alle trin i opsætningsguiden igennem, og skift til Live i samme omgang.
  • Opdateringer: Nye versioner kommer fra WordPress.org som for alle andre plugins, under Kontrolpanel › Opdateringer og på siden Plugins. Klik Aktivér automatiske opdateringer ud for plugin'et for at installere dem automatisk.
  • Hjælp: Kontakt VerifyID på kontakt@verifyid.dk eller +45 78 70 19 45.

On this page